From f8fb4a2f18b4585cef3bdfcac9c68aae7d0fd8ef Mon Sep 17 00:00:00 2001 From: Michael Wiebusch Date: Thu, 1 Aug 2013 18:13:47 +0200 Subject: [PATCH] fix made --- tools/testgui.js | 2 +- tools/testgui.pl | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/tools/testgui.js b/tools/testgui.js index 55f0ba7..bb5febe 100644 --- a/tools/testgui.js +++ b/tools/testgui.js @@ -18,7 +18,7 @@ function run(time) { // sensorIdHash["hugo"]="hugo"; // sensorIdHash["hugo2"]="hugonaut"; - getdata("run.pl","","false"); + getdata("run.pl","theConsole","false"); var sensorId; for( sensorId in previewAreaIdHash){ // alert(laufid+" => "+previewAreaIdHash[laufid]); diff --git a/tools/testgui.pl b/tools/testgui.pl index f3c38e9..8a959e4 100755 --- a/tools/testgui.pl +++ b/tools/testgui.pl @@ -153,13 +153,18 @@ print q%%; +# pass a list of sensor Ids to the javascript side +# more precisely: a hash consisting of $sensorId=>$previewAreaId +# so the javascript knows which placeholders to fill with actual plots print ""; +# end of that story + +print "
[the \"console\"]
"; print end_html; -- 2.43.0