diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2007-08-24 14:34:49 +0200 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2007-08-24 14:34:49 +0200 |
commit | e6124dcdd53763c601f6c2f6186abae59c45237c (patch) | |
tree | 325efccff81040d8fbac2abec5191135a8b3a524 /htdocs/cropper | |
parent | 3f641e37b99d5aa18ecf2f58364696ac17f859d2 (diff) | |
download | smokeping-e6124dcdd53763c601f6c2f6186abae59c45237c.tar.gz smokeping-e6124dcdd53763c601f6c2f6186abae59c45237c.tar.xz |
fixed unknonwn variables
Diffstat (limited to 'htdocs/cropper')
-rw-r--r-- | htdocs/cropper/smokeping-zoom.js (renamed from htdocs/cropper/smokeping-cropper.js) | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/htdocs/cropper/smokeping-cropper.js b/htdocs/cropper/smokeping-zoom.js index 572357c..8129801 100644 --- a/htdocs/cropper/smokeping-cropper.js +++ b/htdocs/cropper/smokeping-zoom.js @@ -64,6 +64,7 @@ function JSToISODate(mydate) { // example with minimum dimensions var myCropper; + // will be started by modified iSelect (StopApply Function) var StartDateString = 0; var EndDateString = 0; @@ -87,12 +88,12 @@ function changeRRDImage(coords,dimensions){ var myRawTarget = myURLObj.getUrlParameterValue("target"); var myParsedStartDate = ISODateToJS(myRawStartDate); - var myParsedStartEpoch = Math.floor(myParsedStartDate.getTime()/1000.0); + myParsedStartEpoch = Math.floor(myParsedStartDate.getTime()/1000.0); var myParsedStopDate = ISODateToJS(myRawStopDate); - var myParsedStopEpoch = Math.floor(myParsedStopDate.getTime()/1000.0); + myParsedStopEpoch = Math.floor(myParsedStopDate.getTime()/1000.0); - var myParsedDivEpoch = myParsedStopEpoch - myParsedStartEpoch; + myParsedDivEpoch = myParsedStopEpoch - myParsedStartEpoch; var mySerialDate = new Date(); var mySerial = mySerialDate.getTime(); |