From 7dbdc4e09de2fe24460190cead2ee317165c9453 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Fri, 21 Oct 2016 09:15:31 -0400 Subject: adding returns after state.go --> seems it takes time to go and code continues to execute below it - WTF! Former-commit-id: f1f7e2d62f47f9528d163db43fa166d088b0a819 --- www/js/EventCtrl.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'www/js/EventCtrl.js') diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js index 8254123c..66dec420 100644 --- a/www/js/EventCtrl.js +++ b/www/js/EventCtrl.js @@ -730,6 +730,7 @@ angular.module('zmApp.controllers') }, { reload: true }); + return; } }; @@ -799,6 +800,7 @@ angular.module('zmApp.controllers') "id": 0, "playEvent":false }); + return; } else { NVRDataModel.log("Filter reset cancelled in popup"); } -- cgit v1.2.3