summaryrefslogtreecommitdiff
path: root/www/js/DataModel.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-09-12 11:59:24 -0400
committerPliable Pixels <pliablepixels@gmail.com>2016-09-12 11:59:24 -0400
commit9088544824309b2aeb2588d6530e49cfcf256b0a (patch)
tree64dc5ca43e0d9fe77bb0313ec5f099581ef01292 /www/js/DataModel.js
parent526306440243f28f2edd9cdeb0bbf97da05115f4 (diff)
option to disable alarm APIs and language support tweaks
Former-commit-id: d2e2280b8d2a4e2bb57bbb4fd9ad7f7c317cebd5
Diffstat (limited to 'www/js/DataModel.js')
-rw-r--r--www/js/DataModel.js13
1 files changed, 12 insertions, 1 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js
index 83982c1c..dcd6b768 100644
--- a/www/js/DataModel.js
+++ b/www/js/DataModel.js
@@ -40,10 +40,14 @@ angular.module('zmApp.controllers')
text: 'Portugese',
value: 'pt'
},
+ /*{
+ text: 'Arabic',
+ value: 'ar'
+ },
{
text: 'Hindi',
value: 'hi'
- }
+ }*/
];
var serverGroupList = {};
@@ -114,6 +118,7 @@ angular.module('zmApp.controllers')
'cycleMonitorsInterval':10, // 10sec
'enableLowBandwidth':false,
'autoSwitchBandwidth':false,
+ 'disableAlarmCheckMontage': false,
@@ -759,6 +764,12 @@ angular.module('zmApp.controllers')
}
+ if (typeof loginData.disableAlarmCheckMontage == 'undefined') {
+
+ loginData.disableAlarmCheckMontage = false;
+
+ }
+