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/29 23:30:05 UTC

svn commit: r1628321 - /uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/js/ducc.js

Author: degenaro
Date: Mon Sep 29 21:30:05 2014
New Revision: 1628321

URL: http://svn.apache.org/r1628321
Log:
UIMA-4018 DUCC Web Server (WS) javascript

remove background page auto-refresh?

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=1628321&r1=1628320&r2=1628321&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 29 21:30:05 2014
@@ -2575,53 +2575,42 @@ function ducc_update_page(type) {
             ducc_load_reservations_head();
             ducc_load_reservations_data();
         }
-        for (var i = 0; i < document.duccform.refresh.length; i++) {
-            if (type == "jobs") {
-                ducc_load_jobs_data();
-            }
-            if (type == "services") {
-                ducc_load_services_data();
-            }
-            if (type == "reservations") {
-                ducc_load_reservations_data();
-            }
-            if (type == "job-details") {
-                ducc_load_job_workitems_count_data();
-                ducc_load_job_processes_data();
-                ducc_load_job_workitems_data();
-                ducc_load_job_performance_data();
-                //ducc_load_job_specification_data();
-                ducc_load_job_files_data();
-            }
-            if (type == "reservation-details") {
-                //ducc_load_reservation_specification_data();
-                ducc_load_reservation_processes_data();
-                ducc_load_reservation_files_data();
-            }
-            if (type == "service-details") {
-                ducc_load_service_history_data();
-                ducc_load_service_files_data();
-                ducc_load_service_registry_data();
-                ducc_load_service_deployments_data();
-                ducc_load_service_summary_data();
-                ducc_service_update_form_button();
-            }
-            if (type == "system-machines") {
-                ducc_load_machines_data();
-            }
-            if (type == "system-administration") {
-                ducc_load_system_administration_data();
-            }
-            if (type == "system-daemons") {
-                ducc_load_system_daemons_data();
-            }
-            if (type == "system-broker") {
-                ducc_load_broker_summary_data();
-                ducc_load_system_broker_data();
-            }
-            if (type == "system-classes") {
-                ducc_load_system_classes_data();
-            }
+        if (type == "job-details") {
+            ducc_load_job_workitems_count_data();
+            ducc_load_job_processes_data();
+            ducc_load_job_workitems_data();
+            ducc_load_job_performance_data();
+            //ducc_load_job_specification_data();
+            ducc_load_job_files_data();
+        }
+        if (type == "reservation-details") {
+            //ducc_load_reservation_specification_data();
+            ducc_load_reservation_processes_data();
+            ducc_load_reservation_files_data();
+        }
+        if (type == "service-details") {
+            ducc_load_service_history_data();
+            ducc_load_service_files_data();
+            ducc_load_service_registry_data();
+            ducc_load_service_deployments_data();
+            ducc_load_service_summary_data();
+            ducc_service_update_form_button();
+        }
+        if (type == "system-machines") {
+            ducc_load_machines_data();
+        }
+        if (type == "system-administration") {
+            ducc_load_system_administration_data();
+        }
+        if (type == "system-daemons") {
+            ducc_load_system_daemons_data();
+        }
+        if (type == "system-broker") {
+            ducc_load_broker_summary_data();
+            ducc_load_system_broker_data();
+        }
+        if (type == "system-classes") {
+            ducc_load_system_classes_data();
         }
         $.getScript("./js/ducc.local.js", function() {
             ducc_update_page_local(type);