summaryrefslogtreecommitdiff
path: root/www/js/DataModel.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-12-06 12:10:29 -0500
committerPliable Pixels <pliablepixels@gmail.com>2016-12-06 12:10:29 -0500
commit5d5c56fb66825f0b2ab8f57fd890118e453435fa (patch)
tree880ee901c12bf72015e87b7f603c3b753e444281 /www/js/DataModel.js
parente82f80b46ada10cd83f2e0faf28a2281a27ec533 (diff)
made menu toggle persistent #390
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 4c8be1a7..8786b56e 100644
--- a/www/js/DataModel.js
+++ b/www/js/DataModel.js
@@ -107,7 +107,7 @@ angular.module('zmApp.controllers')
'montageOrder': '',
'montageHiddenOrder': '',
'montageArraySize': '0',
-
+ 'showMontageSubMenu': false,
'graphSize': 2000,
'enableAlarmCount': true,
'minAlarmCount': 1,
@@ -911,6 +911,14 @@ angular.module('zmApp.controllers')
}
+
+ if (typeof loginData.showMontageSubMenu == 'undefined')
+ {
+
+ loginData.showMontageSubMenu = false;
+
+ }
+
if (typeof loginData.monSingleImageQuality == 'undefined')
{