diff options
author | yvesf <yvesf-git@xapek.org> | 2011-07-18 09:17:10 +0200 |
---|---|---|
committer | yvesf <yvesf-git@xapek.org> | 2011-07-18 09:17:10 +0200 |
commit | 3c080ad7ebe97016b19f0a67f4bc94a4cfcf65bc (patch) | |
tree | 78acccdf04f82116a8d2a2f1948ebd3c3cfe3779 /ebus/webapp/static/ebus.js | |
parent | 447c1cc5876044035de5b016985b324f72b3b1ff (diff) | |
download | ebus-alt-3c080ad7ebe97016b19f0a67f4bc94a4cfcf65bc.tar.gz ebus-alt-3c080ad7ebe97016b19f0a67f4bc94a4cfcf65bc.zip |
relative pfade
Diffstat (limited to 'ebus/webapp/static/ebus.js')
-rw-r--r-- | ebus/webapp/static/ebus.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ebus/webapp/static/ebus.js b/ebus/webapp/static/ebus.js index afd667f..4563ee9 100644 --- a/ebus/webapp/static/ebus.js +++ b/ebus/webapp/static/ebus.js @@ -45,7 +45,7 @@ $(document).ready(function(){ plotSensorOverview(sensorname); } var plotSensorDetail = function(sensorname) { - $.getJSON("/sensor/"+escape(sensorname)+"/"+from+"/"+to, + $.getJSON("sensor/"+escape(sensorname)+"/"+from+"/"+to, function(response) { if (response['data']) { datasetDetail.push({'data':response['data'], @@ -57,7 +57,7 @@ $(document).ready(function(){ }); }; var plotSensorOverview = function(sensorname) { - $.getJSON("/sensor_cached/"+escape(sensorname)+"/"+fromOverview, //+"/"+to, + $.getJSON("sensor_cached/"+escape(sensorname)+"/"+fromOverview, //+"/"+to, function(response) { if (response['data']) { datasetOverview.push({'data':response['data'], @@ -96,4 +96,4 @@ $(document).ready(function(){ plotSensor("heizkreisregler10.betriebsdatenRegler1.kesselTemperatur"); plotSensor("feuerungsautomat1.betriebsdatenRegler1.aussenTemperatur"); // TODO http://people.iola.dk/olau/flot/examples/annotating.html -});
\ No newline at end of file +}); |