summaryrefslogtreecommitdiff
path: root/www/js/DataModel.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/DataModel.js')
-rw-r--r--www/js/DataModel.js8
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");