diff options
Diffstat (limited to 'www/js/DataModel.js')
| -rw-r--r-- | www/js/DataModel.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js index 814c87ff..5efede89 100644 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -71,6 +71,7 @@ angular.module('zmApp.controllers') 'defaultPushSound': false, 'enableBlog':true, 'use24hr':false, + 'packeryPositions':'' }; @@ -285,6 +286,13 @@ angular.module('zmApp.controllers') } + if (typeof loginData.packeryPositions == 'undefined') + { + zmDebug ("packeryPositions does not exist. Setting to empty"); + loginData.packeryPositions = ""; + + } + if (typeof loginData.use24hr == 'undefined') { zmDebug ("use24hr does not exist. Setting to false"); |
