summaryrefslogtreecommitdiff
path: root/www/js/LoginCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-04-14 15:12:20 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-04-14 15:12:20 -0400
commit7e6d5602ad08bc7f0054de92ca82768208c48d6b (patch)
tree343d1b35dc3fdaa51742ae2203fc82398dc5fe4d /www/js/LoginCtrl.js
parent4daf69b94336ee8a89679f285d9e925cbaa43935 (diff)
#611 #606 - many re-auth leaks
Diffstat (limited to 'www/js/LoginCtrl.js')
-rw-r--r--www/js/LoginCtrl.js2
1 files changed, 1 insertions, 1 deletions
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;
});