]> jspc29.x-matter.uni-frankfurt.de Git - mvdsensorcontrol.git/commitdiff
added runtime textfield
authorMichael Wiebusch <stratomaster@gmx.net>
Mon, 5 Aug 2013 15:08:38 +0000 (17:08 +0200)
committerMichael Wiebusch <stratomaster@gmx.net>
Mon, 5 Aug 2013 15:08:38 +0000 (17:08 +0200)
tools/testgui.js

index f4a66df00126fc2f0a4ef67536402a9a9b0284ba..9f0e198a7c19492c7c6c68793621fe6de8f8fb62 100644 (file)
@@ -25,7 +25,8 @@ function run(time) {
     getdata("testgui.pl?action=showPlot&sensorId=",previewAreaIdHash[sensorId],true);
   }
   
-  getdata("run.pl","theConsole",false);
+  var time_= encodeURIComponent(time);
+  getdata("run.pl?runtime="+time_,"theConsole",false);
   
   for( var sensorId in previewAreaIdHash){
 //     alert(laufid+" => "+previewAreaIdHash[laufid]);