summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/js/MonitorCtrl.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/js/MonitorCtrl.js b/www/js/MonitorCtrl.js
index 9381ae6c..89efe4cd 100644
--- a/www/js/MonitorCtrl.js
+++ b/www/js/MonitorCtrl.js
@@ -48,6 +48,8 @@ angular.module('zmApp.controllers')
// Alarm notification handling
//----------------------------------------------------------------
$scope.handleAlarms = function () {
+
+ //$rootScope.isAlarm = true;
$rootScope.isAlarm = !$rootScope.isAlarm;
if (!$rootScope.isAlarm) {
$rootScope.alarmCount = "0";
@@ -58,8 +60,6 @@ angular.module('zmApp.controllers')
$state.go("app.events", {
"id": 0,
"playEvent": false
- }, {
- reload: true
});
return;
}