@@ -48,7 +52,7 @@
});
- getData('','','');
+ getData('','','');
};
@@ -60,7 +64,7 @@
}
function getData(sensorID,from,to) {
$.ajax({
- url: "/sensor/json_graph/"+sensorID+"/"+from+"/"+to,
+ url: "/calls.json.php?"+sensorID+"/"+from+"/"+to,
method: 'GET',
dataType: 'json',
success: onDataReceived