From 0ff338a5dcad70956e18bc336b2bd79d152a23d9 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Thu, 14 Mar 2019 16:53:56 -0400 Subject: #784 remember view in case of manual lock so we can go back to it --- www/js/app.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'www/js') 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 { -- cgit v1.2.3