diff options
Diffstat (limited to 'www/js/DataModel.js')
| -rw-r--r-- | www/js/DataModel.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js index a0ff20d9..4bbf3e01 100644 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -62,6 +62,7 @@ angular.module('zmApp.controllers') 'minAlarmCount':'1', 'montageSize':'10', 'useNphZms':true, + 'packMontage':true, }; @@ -231,10 +232,16 @@ angular.module('zmApp.controllers') if (typeof loginData.useNphZms == 'undefined') { - zmDebug ("useNphZms does not exist. Setting to false"); + zmDebug ("useNphZms does not exist. Setting to true"); loginData.useNphZms = true; } + if (typeof loginData.packMontage == 'undefined') + { + zmDebug ("packMontage does not exist. Setting to true"); + loginData.packMontage = true; + } + zmLog ("DataModel init recovered this loginData as " + JSON.stringify(loginData)); } else |
