From 9088544824309b2aeb2588d6530e49cfcf256b0a Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Mon, 12 Sep 2016 11:59:24 -0400 Subject: option to disable alarm APIs and language support tweaks Former-commit-id: d2e2280b8d2a4e2bb57bbb4fd9ad7f7c317cebd5 --- www/js/DataModel.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'www/js/DataModel.js') 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; + + } + -- cgit v1.2.3