From 349a92ed12fa4f075387fb4ae16f4682366dd349 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Sun, 6 Sep 2020 17:22:02 -0400 Subject: #963 make sure monitorsFilter is cleared if filter manually empties --- www/js/EventCtrl.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'www/js') 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; -- cgit v1.2.3