summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwww/js/app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/js/app.js b/www/js/app.js
index 9a93b0cf..33b93564 100755
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -1656,6 +1656,8 @@ angular.module('zmApp', [
disableAnimate: true
});
if ($state.current.name != 'app.zm-portal-login') {
+ $rootScope.lastState = $state.current.name;
+ $rootScope.$stateParams = $stateParams;
$state.go ('app.zm-portal-login');
}
else {