summaryrefslogtreecommitdiff
path: root/www/js/EventDateTimeFilterCtrl.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/EventDateTimeFilterCtrl.js')
-rw-r--r--www/js/EventDateTimeFilterCtrl.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/www/js/EventDateTimeFilterCtrl.js b/www/js/EventDateTimeFilterCtrl.js
index 733d6263..28779310 100644
--- a/www/js/EventDateTimeFilterCtrl.js
+++ b/www/js/EventDateTimeFilterCtrl.js
@@ -25,10 +25,7 @@ angular.module('zmApp.controllers')
}
};
- $scope.$on('$ionicView.beforeLeave', function () {
- $rootScope.enteringEventFilter=false;
- });
-
+
$scope.$on('$ionicView.beforeEnter', function () {
$scope.today = moment().format("YYYY-MM-DD");
$scope.monitors = NVR.getMonitorsNow();