diff options
Diffstat (limited to 'www')
| -rw-r--r-- | www/js/DataModel.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js index 839991b7..233df399 100644 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -404,6 +404,12 @@ angular.module('zmApp.controllers') loginData.enableAlarmCount = true; } + if (typeof loginData.minAlarmCount === 'undefined') + { + zmDebug ("minAlarmCount does not exist, setting to true"); + loginData.minAlarmCount = 1; + } + if (typeof loginData.montageSize == 'undefined') { |
