diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2020-09-06 17:22:02 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2020-09-06 17:22:02 -0400 |
| commit | 349a92ed12fa4f075387fb4ae16f4682366dd349 (patch) | |
| tree | 077430a550fe28a382e04ee16120109f270c681e | |
| parent | 65f02d0f50bd971a1a212640fadd7a6327d09bb0 (diff) | |
#963 make sure monitorsFilter is cleared if filter manually empties
| -rw-r--r-- | www/js/EventCtrl.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js index 059585e7..8082396b 100644 --- a/www/js/EventCtrl.js +++ b/www/js/EventCtrl.js @@ -246,8 +246,6 @@ angular.module('zmApp.controllers') $scope.rowHeight = $scope.rowHeightRegular; $scope.mid = ''; - $rootScope.monitorsFilter = ''; - $scope.$on ("alarm", function() { NVR.debug ("EventCtrl: new event notification, doing an immediate reload"); @@ -1849,7 +1847,7 @@ angular.module('zmApp.controllers') $rootScope.toTime = ""; $rootScope.fromString = ""; $rootScope.toString = ""; - + $rootScope.monitorsFilter = ""; $scope.id = 0; $scope.showEvent = false; $scope.footerState = ionPullUpFooterState.MINIMIZED; |
