From 1c86305fb4234cf4e8d81c461dc515ef1db6ec06 Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Tue, 22 Jan 2008 06:47:05 +0000 Subject: fix hierarchy property problem introduced in previouse patch --- htdocs/cropper/smokeping-zoom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'htdocs/cropper') 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(); -- cgit v1.2.3-24-g4f1b