diff options
Diffstat (limited to 'htdocs/js')
-rw-r--r-- | htdocs/js/smokeping_zoom.js | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/htdocs/js/smokeping_zoom.js b/htdocs/js/smokeping_zoom.js index eb972ce..b9526d1 100644 --- a/htdocs/js/smokeping_zoom.js +++ b/htdocs/js/smokeping_zoom.js @@ -169,13 +169,6 @@ function changeRRDImage(){ EndDateString = JSToISODate(StopDate); // construct Image URL - myGraph = "img/__navcache/" + mySerial + "_" + MinuteGenStop + "_" + MinuteGenStart + ".png"; - - // Fetch image with ajax - var result = $.get(myURL + "?displaymode=a;start=" + StartDateString+ ";end=" + EndDateString + ";target=" + myRawTarget + ";serial=" + mySerial, - function(){ - // replacement image with AJAX - newimg.attr("src", myGraph); - }); + newimg.attr("src",myURL + "?displaymode=a;start=" + StartDateString+ ";end=" + EndDateString + ";target=" + myRawTarget + ";serial=" + mySerial); }; |