summaryrefslogtreecommitdiff
path: root/www/js/DataModel.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2017-12-18 11:02:30 -0500
committerPliable Pixels <pliablepixels@gmail.com>2017-12-18 11:02:30 -0500
commitfdfde916ee558f1dd61cf734f46f796b45c8dd4a (patch)
tree4568473035fef1b9c1c4fcefee4c2c78a8d10665 /www/js/DataModel.js
parent2b1feb9c21661532e51ba5d09755454b940d42f9 (diff)
#570 - save/reload and monitor masking
Diffstat (limited to 'www/js/DataModel.js')
-rwxr-xr-xwww/js/DataModel.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js
index e5338bc2..ef3cb193 100755
--- a/www/js/DataModel.js
+++ b/www/js/DataModel.js
@@ -170,6 +170,7 @@ angular.module('zmApp.controllers')
'isFullScreen': false,
'reloadInMontage': false,
'momentGridSize': 40,
+ 'momentMonitorFilter': []
};
@@ -1026,6 +1027,16 @@ angular.module('zmApp.controllers')
}
+ if (typeof loginData.momentMonitorFilter == 'undefined') {
+
+ loginData.momentMonitorFilter = JSON.stringify([]);
+
+ }
+
+
+
+
+
log("DataModel init recovered this loginData as " + JSON.stringify(loginData));
} else {
log("defaultServer configuration NOT found. Keeping login at defaults");