diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2016-12-06 10:24:53 -0500 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2016-12-06 10:24:53 -0500 |
| commit | e82f80b46ada10cd83f2e0faf28a2281a27ec533 (patch) | |
| tree | 51fb7e02db426319e25ca44c542d6b5ea8177263 /www/js/DataModel.js | |
| parent | abb3f1f3517d654050cfeb2161347163bc63455b (diff) | |
multiple montage profile support added #390
Diffstat (limited to 'www/js/DataModel.js')
| -rw-r--r-- | www/js/DataModel.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js index 5a837039..4c8be1a7 100644 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -121,6 +121,7 @@ angular.module('zmApp.controllers') 'enableBlog': true, 'use24hr': false, 'packeryPositions': '', + 'packeryPositionsArray': {}, 'EHpackeryPositions': '', 'packerySizes': '', 'timelineModalGraphType': 'all', @@ -755,6 +756,14 @@ angular.module('zmApp.controllers') } + if (typeof loginData.packeryPositionsArray == 'undefined') + { + debug("packeryPositionsArray does not exist. Setting to empty"); + loginData.packeryPositionsArray = {}; + + } + + if (typeof loginData.packeryPositions == 'undefined') { debug("packeryPositions does not exist. Setting to empty"); |
