summaryrefslogtreecommitdiff
path: root/www/js/NVR.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2019-07-21 12:43:07 -0400
committerPliable Pixels <pliablepixels@gmail.com>2019-07-21 12:43:07 -0400
commit948974395cc4559cff94802fd9d3ff63a5006819 (patch)
treeeeabebaead5e14eafda882af552f277f0855439e /www/js/NVR.js
parente8c2483e74b38b3d2f8a1d662574a23a6aabad64 (diff)
remember moment overlay state
Diffstat (limited to 'www/js/NVR.js')
-rw-r--r--www/js/NVR.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/www/js/NVR.js b/www/js/NVR.js
index 41cb3118..8bd6e283 100644
--- a/www/js/NVR.js
+++ b/www/js/NVR.js
@@ -184,6 +184,7 @@ angular.module('zmApp.controllers')
'momentGridSize': 40,
'momentMonitorFilter': [],
'enableMomentSubMenu': true,
+ 'momentShowIcons':false,
'momentArrangeBy': 'StartTime',
'showLiveForInProgressEvents': true,
'disableSimulStreaming': false,
@@ -1352,6 +1353,13 @@ angular.module('zmApp.controllers')
}
+ if (typeof loginData.momentShowIcons == 'undefined') {
+
+ loginData.momentShowIcons = true;
+
+ }
+
+
if (typeof loginData.momentMonitorFilter == 'undefined') {
loginData.momentMonitorFilter = JSON.stringify([]);