From 7e6d5602ad08bc7f0054de92ca82768208c48d6b Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Sat, 14 Apr 2018 15:12:20 -0400 Subject: #611 #606 - many re-auth leaks --- www/js/LoginCtrl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/js/LoginCtrl.js') diff --git a/www/js/LoginCtrl.js b/www/js/LoginCtrl.js index d8b89d3b..56d6d4a7 100644 --- a/www/js/LoginCtrl.js +++ b/www/js/LoginCtrl.js @@ -358,7 +358,7 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r } });*/ - $rootScope.$on('$stateChangeSuccess', function () { + $scope.$on('$stateChangeSuccess', function () { $scope.ignoreDirty = false; }); -- cgit v1.2.3