summaryrefslogtreecommitdiffstats
path: root/htdocs
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2007-08-16 16:36:17 +0200
committerTobi Oetiker <tobi@oetiker.ch>2007-08-16 16:36:17 +0200
commit081d224c879e6851712a950768d5173afbfbb82d (patch)
tree5b572a12b683ec63e9a04563f1c649016fde8184 /htdocs
parent38ae209aa0461d2c7aca1af9d805e78389011a62 (diff)
downloadsmokeping-081d224c879e6851712a950768d5173afbfbb82d.tar.gz
smokeping-081d224c879e6851712a950768d5173afbfbb82d.tar.xz
* in ajax mode return graph and do not guess imagepath
* im overview page display standard deviation of pings in graph
Diffstat (limited to 'htdocs')
-rw-r--r--htdocs/js/smokeping_zoom.js9
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);
};