From 231021cd811fa322a3377987a6db7f5b943d5378 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Tue, 8 Nov 2016 05:50:01 -0500 Subject: 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 --- www/js/DataModel.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'www/js/DataModel.js') 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') { -- cgit v1.2.3