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 2014/09/22 17:07:44 UTC
svn commit: r1626801 -
/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/js/ducc.js
Author: degenaro
Date: Mon Sep 22 15:07:44 2014
New Revision: 1626801
URL: http://svn.apache.org/r1626801
Log:
UIMA-4018 DUCC Web Server (WS) javascript
move recursive call in timed loop to end
Modified:
uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/js/ducc.js
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=1626801&r1=1626800&r2=1626801&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 Mon Sep 22 15:07:44 2014
@@ -2455,7 +2455,6 @@ function ducc_refresh(type) {
function ducc_timed_loop(type) {
try {
- tid = setTimeout(function(){ducc_timed_loop(type); type = null},30000); // again
var refreshmode = ducc_appl("refreshmode");
var c_value = ducc_get_cookie(refreshmode);
if(c_value == null) {
@@ -2465,6 +2464,7 @@ function ducc_timed_loop(type) {
if(c_value == "automatic") {
ducc_refresh(type);
}
+ var tid = setTimeout(function(){ducc_timed_loop(type); type = null},30000); // again
}
catch(err) {
ducc_error("ducc_timed_loop",err);