You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by de...@apache.org on 2013/08/07 16:17:44 UTC
svn commit: r1511329 - in
/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root: jobs.jsp
js/ducc.js reservations.jsp services.jsp system.administration.jsp
system.classes.jsp system.daemons.jsp system.machines.jsp
Author: degenaro
Date: Wed Aug 7 14:17:43 2013
New Revision: 1511329
URL: http://svn.apache.org/r1511329
Log:
UIMA-3158 DUCC webserver (WS) prevent flicker under Firefox.
Modified:
uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/jobs.jsp
uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/js/ducc.js
uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/reservations.jsp
uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/services.jsp
uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.administration.jsp
uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.classes.jsp
uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.daemons.jsp
uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.machines.jsp
Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/jobs.jsp
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/jobs.jsp?rev=1511329&r1=1511328&r2=1511329&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/jobs.jsp (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/jobs.jsp Wed Aug 7 14:17:43 2013
@@ -65,7 +65,7 @@ if (table_style.equals("scroll")) {
}
%>
</head>
-<body onload="ducc_init('jobs');" onResize="window.location.href = window.location.href;">
+<body onload="ducc_init('jobs');" onResize="ducc_resize();">
<!-- ####################### common ######################## -->
<div class="flex-page">
Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/js/ducc.js
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/js/ducc.js?rev=1511329&r1=1511328&r2=1511329&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/js/ducc.js (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/js/ducc.js Wed Aug 7 14:17:43 2013
@@ -65,6 +65,15 @@ function toggleById(id) {
$("#"+id).toggle();
}
+function ducc_resize() {
+ if(navigator.appCodeName == "Mozilla") {
+ // See Jira 3158
+ }
+ else {
+ window.location.href = window.location.href;
+ }
+}
+
function ducc_error(loc, err)
{
var txt;
Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/reservations.jsp
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/reservations.jsp?rev=1511329&r1=1511328&r2=1511329&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/reservations.jsp (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/reservations.jsp Wed Aug 7 14:17:43 2013
@@ -55,7 +55,7 @@ if (table_style.equals("scroll")) {
}
%>
</head>
-<body onload="ducc_init('reservations');" onResize="window.location.href = window.location.href;">
+<body onload="ducc_init('reservations');" onResize="ducc_resize();">
<!-- ####################### common ######################## -->
<div class="flex-page">
Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/services.jsp
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/services.jsp?rev=1511329&r1=1511328&r2=1511329&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/services.jsp (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/services.jsp Wed Aug 7 14:17:43 2013
@@ -61,7 +61,7 @@ if (table_style.equals("scroll")) {
}
%>
</head>
-<body onload="ducc_init('services');" onResize="window.location.href = window.location.href;">
+<body onload="ducc_init('services');" onResize="ducc_resize();">
<!-- ####################### common ######################## -->
<div class="flex-page">
Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.administration.jsp
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.administration.jsp?rev=1511329&r1=1511328&r2=1511329&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.administration.jsp (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.administration.jsp Wed Aug 7 14:17:43 2013
@@ -38,7 +38,7 @@ under the License.
</script>
</head>
-<body onload="ducc_init('system-administration');" onResize="window.location.href = window.location.href;">
+<body onload="ducc_init('system-administration');" onResize="ducc_resize();">
<!-- ####################### common ######################## -->
<div class="flex-page">
Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.classes.jsp
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.classes.jsp?rev=1511329&r1=1511328&r2=1511329&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.classes.jsp (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.classes.jsp Wed Aug 7 14:17:43 2013
@@ -54,7 +54,7 @@ if (table_style.equals("scroll")) {
}
%>
</head>
-<body onload="ducc_init('system-classes');" onResize="window.location.href = window.location.href;">
+<body onload="ducc_init('system-classes');" onResize="ducc_resize();">
<!-- ####################### common ######################## -->
<div class="flex-page">
Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.daemons.jsp
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.daemons.jsp?rev=1511329&r1=1511328&r2=1511329&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.daemons.jsp (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.daemons.jsp Wed Aug 7 14:17:43 2013
@@ -52,7 +52,7 @@ if (table_style.equals("scroll")) {
}
%>
</head>
-<body onload="ducc_init('system-daemons');" onResize="window.location.href = window.location.href;">
+<body onload="ducc_init('system-daemons');" onResize="ducc_resize();">
<!-- ####################### common ######################## -->
<div class="flex-page">
Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.machines.jsp
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.machines.jsp?rev=1511329&r1=1511328&r2=1511329&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.machines.jsp (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.machines.jsp Wed Aug 7 14:17:43 2013
@@ -68,7 +68,7 @@ under the License.
%>
</head>
-<body onload="ducc_init('system-machines');" onResize="window.location.href = window.location.href;">
+<body onload="ducc_init('system-machines');" onResize="ducc_resize();">
<!-- ####################### common ######################## -->
<div class="flex-page">