summaryrefslogtreecommitdiff
path: root/www/js/DataModel.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2017-12-17 16:38:14 -0500
committerPliable Pixels <pliablepixels@gmail.com>2017-12-17 16:38:14 -0500
commitbc284f2bf4b3abdbef509cdba48ef26569ccaa32 (patch)
tree9120a1f7e3999b3993234aeec6dd16ceeca35b53 /www/js/DataModel.js
parentba6f5a401067c4a170aa2592707352b2ebb110ca (diff)
#570 added resize and save option
Diffstat (limited to 'www/js/DataModel.js')
-rwxr-xr-xwww/js/DataModel.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js
index a9602ed1..e5338bc2 100755
--- a/www/js/DataModel.js
+++ b/www/js/DataModel.js
@@ -169,6 +169,8 @@ angular.module('zmApp.controllers')
'enableSlowLoading': false,
'isFullScreen': false,
'reloadInMontage': false,
+ 'momentGridSize': 40,
+
};
@@ -1018,6 +1020,12 @@ angular.module('zmApp.controllers')
}
+ if (typeof loginData.momentGridSize == 'undefined') {
+
+ loginData.momentGridSize = 40;
+
+ }
+
log("DataModel init recovered this loginData as " + JSON.stringify(loginData));
} else {
log("defaultServer configuration NOT found. Keeping login at defaults");