From e5f0dbff84ee9ed6a7f298fe721e1041e5d17edf Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Tue, 5 Feb 2019 11:26:27 -0500 Subject: #777 remove reload --- www/js/MonitorCtrl.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www/js/MonitorCtrl.js') 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; } -- cgit v1.2.3