summaryrefslogtreecommitdiffstats
path: root/htdocs/cropper
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2008-01-22 07:47:05 +0100
committerTobi Oetiker <tobi@oetiker.ch>2008-01-22 07:47:05 +0100
commit1c86305fb4234cf4e8d81c461dc515ef1db6ec06 (patch)
treef9c4a55ece84b4f9d3d035550ce2947c2cd60c05 /htdocs/cropper
parent88c73fdb0c653f6366a06c21aa9c055245b8641a (diff)
downloadsmokeping-1c86305fb4234cf4e8d81c461dc515ef1db6ec06.tar.gz
smokeping-1c86305fb4234cf4e8d81c461dc515ef1db6ec06.tar.xz
fix hierarchy property problem introduced in previouse patch
Diffstat (limited to 'htdocs/cropper')
-rw-r--r--htdocs/cropper/smokeping-zoom.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/htdocs/cropper/smokeping-zoom.js b/htdocs/cropper/smokeping-zoom.js
index cf69310..7b4ba53 100644
--- a/htdocs/cropper/smokeping-zoom.js
+++ b/htdocs/cropper/smokeping-zoom.js
@@ -70,7 +70,7 @@ function changeRRDImage(coords,dimensions){
EndEpoch = Math.ceil(EndEpoch + (SelectRight - (RRDImgWidth - RRDRight) ) * DivEpoch / RRDImgUsable * RightFactor);
- $('zoom').src = myURL + '?displaymode=a;start=' + StartEpoch + ';end=' + EndEpoch + ';target=' + Target + (Hierarchy != '' ? ';hierarchy=' + Hierarchy : '');
+ $('zoom').src = myURL + '?displaymode=a;start=' + StartEpoch + ';end=' + EndEpoch + ';target=' + Target + ';hierarchy=' + Hierarchy;
myCropper.setParams();