diff options
| author | pliablepixels <pliablepixels@gmail.com> | 2016-04-01 14:17:42 -0400 |
|---|---|---|
| committer | pliablepixels <pliablepixels@gmail.com> | 2016-04-01 14:17:42 -0400 |
| commit | 0363f7e9f610c3a81df46e440978722b6b2acf7f (patch) | |
| tree | 4dc33a6b7073c1255f1d393ac60c088836df0a72 /www/js/DataModel.js | |
| parent | d3f511253b50bfcb1c578ddc9280cecf1e037cf4 (diff) | |
#209 allow toggling between alarmed and non alarmed frames
Former-commit-id: 4d56d68fb19f6f5997c050140d6aa28d7949dccd
Diffstat (limited to 'www/js/DataModel.js')
| -rw-r--r-- | www/js/DataModel.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js index cccc54c2..96c55a9d 100644 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -74,6 +74,7 @@ angular.module('zmApp.controllers') 'use24hr':false, 'packeryPositions':'', 'packerySizes':'', + 'timelineModalGraphType':'alarmed', }; @@ -444,6 +445,13 @@ angular.module('zmApp.controllers') } + if (typeof timelineModalGraphType == 'undefined') + { + zmDebug ("timeline graph type not set. Setting to alarmed"); + loginData.timelineModalGraphType = 'alarmed'; + } + + if (typeof loginData.montageHistoryQuality == 'undefined') { zmDebug ("montageHistoryQuality does not exist. Setting to 50"); |
