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/03/11 22:43:08 UTC

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

Author: degenaro
Date: Mon Mar 11 21:43:08 2013
New Revision: 1455342

URL: http://svn.apache.org/r1455342
Log:
UIMA-2734 DUCC webserver (WS) when in Manual mode, Refresh button on always effective

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=1455342&r1=1455341&r2=1455342&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 Mar 11 21:43:08 2013
@@ -1706,46 +1706,42 @@ function ducc_update_page(type)
 			ducc_reservations_page();
 		}
 		for (var i=0; i < document.duccform.refresh.length; i++) {
-			if (document.duccform.refresh[i].checked) {
-				c_value = document.duccform.refresh[i].value;
-				if( c_value == "automatic") {
-					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_specification_data();
-						ducc_load_job_performance_data();
-						ducc_load_job_workitems_data();
-						ducc_load_job_processes_data();
-						ducc_load_job_workitems_count_data();
-					}
-					if(type == "reservation-details") {
-						//ducc_load_reservation_specification_data();
-						ducc_load_reservation_processes_data();
-					}
-					if(type == "service-details") {
-						//ducc_load_service_registry_data();
-						ducc_load_service_deployments_data();
-					}
-					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-classes") {
-						ducc_load_system_classes_data();
-					}
-				}
+			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_specification_data();
+				ducc_load_job_performance_data();
+				ducc_load_job_workitems_data();
+				ducc_load_job_processes_data();
+				ducc_load_job_workitems_count_data();
+			}
+			if(type == "reservation-details") {
+				//ducc_load_reservation_specification_data();
+				ducc_load_reservation_processes_data();
+			}
+			if(type == "service-details") {
+				ducc_load_service_registry_data();
+				ducc_load_service_deployments_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-classes") {
+				ducc_load_system_classes_data();
 			}
 		}
 	}