From a423020a00e744ca157107896a21d5246c2dc494 Mon Sep 17 00:00:00 2001 From: Justin Otherguy Date: Mon, 20 Sep 2010 08:48:38 +0200 Subject: [PATCH] adopted fe to new json format (fettes merci an flo!) --- frontend/index.html | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index bc95eac..993b636 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -365,7 +365,7 @@ function getData() { $('#debug').append('json'); // load json data with given time window //$.getJSON("../backend/index.php/data/" + myUUID + '/format/json/from/'+myWindowStart+'/to/'+myWindowEnd, function(j){ - $.getJSON("../backend/index.php/data/" + myUUID + '?from='+myWindowStart+'&to='+myWindowEnd, function(j){ + $.getJSON("../backend/index.php/data/" + myUUID + '.json?from='+myWindowStart+'&to='+myWindowEnd, function(j){ data = j; $('#debug').empty().append(data.toSource()); // then show/reload the chart @@ -399,20 +399,18 @@ function showChart() { } // legend entries - for(var i=0;i