diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2019-02-05 11:26:27 -0500 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2019-02-05 11:26:27 -0500 |
| commit | e5f0dbff84ee9ed6a7f298fe721e1041e5d17edf (patch) | |
| tree | 165f528be85480b393833bd7a17fc97af9871ddd /www/js | |
| parent | 71aeecf9405e700496a8138d4c7a629af5be5c69 (diff) | |
#777 remove reload
Diffstat (limited to 'www/js')
| -rw-r--r-- | www/js/MonitorCtrl.js | 4 |
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; } |
