diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2019-03-14 16:53:56 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2019-03-14 16:53:56 -0400 |
| commit | 0ff338a5dcad70956e18bc336b2bd79d152a23d9 (patch) | |
| tree | 6224159f057da6bca4ce808dc99d907db55c207b /www/js | |
| parent | 8b8a394f104e33267169632d6198ec4fe37042eb (diff) | |
#784 remember view in case of manual lock so we can go back to it
Diffstat (limited to 'www/js')
| -rwxr-xr-x | www/js/app.js | 2 |
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 { |
