summaryrefslogtreecommitdiffstats
path: root/htdocs/cropper
diff options
context:
space:
mode:
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();