diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-04-14 15:12:20 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-04-14 15:12:20 -0400 |
| commit | 7e6d5602ad08bc7f0054de92ca82768208c48d6b (patch) | |
| tree | 343d1b35dc3fdaa51742ae2203fc82398dc5fe4d /www/js/PortalLoginCtrl.js | |
| parent | 4daf69b94336ee8a89679f285d9e925cbaa43935 (diff) | |
#611 #606 - many re-auth leaks
Diffstat (limited to 'www/js/PortalLoginCtrl.js')
| -rw-r--r-- | www/js/PortalLoginCtrl.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/js/PortalLoginCtrl.js b/www/js/PortalLoginCtrl.js index df674642..f7ade984 100644 --- a/www/js/PortalLoginCtrl.js +++ b/www/js/PortalLoginCtrl.js @@ -17,7 +17,7 @@ angular.module('zmApp.controllers').controller('zmApp.PortalLoginCtrl', ['$ionic $scope.$on ('$ionicView.beforeLeave', function() { NVRDataModel.debug ("Portal: Deregistering broadcast handles"); for (var i=0; i < broadcastHandles.length; i++) { - broadcastHandles[i](); + //broadcastHandles[i](); } broadcastHandles = []; }); @@ -285,7 +285,7 @@ angular.module('zmApp.controllers').controller('zmApp.PortalLoginCtrl', ['$ionic } - var pp = $rootScope.$on("process-push", function () { + var pp = $scope.$on("process-push", function () { NVRDataModel.debug("*** PROCESS PUSH HANDLER CALLED INSIDE PORTAL LOGIN, setting ProcessPush to true"); processPush = true; evaluateTappedNotification(); |
