summaryrefslogtreecommitdiff
path: root/www/js/DataModel.js
diff options
context:
space:
mode:
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");