summaryrefslogtreecommitdiff
path: root/www/js/DataModel.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-11-08 05:50:01 -0500
committerPliable Pixels <pliablepixels@gmail.com>2016-11-08 05:50:01 -0500
commit231021cd811fa322a3377987a6db7f5b943d5378 (patch)
tree1fa867b4ffe02f919f201d7b330c0f692f10fed5 /www/js/DataModel.js
parentcd1a23b83093710e33863d6b6f0a7c2b5d03c6b1 (diff)
added initial code for scale saving, but commented out - doesn't work well - it zooms in, but need to think on zoom into what timespan. Need to think about it more. Will do it later. #361
Diffstat (limited to 'www/js/DataModel.js')
-rw-r--r--www/js/DataModel.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js
index 47e27c27..01b9ce8a 100644
--- a/www/js/DataModel.js
+++ b/www/js/DataModel.js
@@ -120,7 +120,8 @@ angular.module('zmApp.controllers')
'disableAlarmCheckMontage': false,
'useLocalTimeZone': true,
'fastLogin': true,
- 'followTimeLine': false
+ 'followTimeLine': false,
+ 'timelineScale': -1,
@@ -828,6 +829,13 @@ angular.module('zmApp.controllers')
}
+ if (typeof loginData.timelineScale == 'undefined') {
+
+ loginData.timelineScale = -1;
+
+ }
+
+
if (typeof loginData.monSingleImageQuality == 'undefined') {