summaryrefslogtreecommitdiff
path: root/www/js/PortalLoginCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-10-28 11:17:23 -0700
committerPliable Pixels <pliablepixels@gmail.com>2016-10-28 11:17:23 -0700
commit55a9e628760dc31400457099e4aaabc767beed70 (patch)
treec15f4c05a4c367fd6ab3ea7cf8dc56a90f2268f4 /www/js/PortalLoginCtrl.js
parentef323faae5aca491543dd21fc4732595cf2fcc88 (diff)
#357 - remember last view in desktops (already supported in mobiles)
Diffstat (limited to 'www/js/PortalLoginCtrl.js')
-rw-r--r--www/js/PortalLoginCtrl.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/js/PortalLoginCtrl.js b/www/js/PortalLoginCtrl.js
index 3fb5fb92..7c1936b1 100644
--- a/www/js/PortalLoginCtrl.js
+++ b/www/js/PortalLoginCtrl.js
@@ -158,6 +158,9 @@ angular.module('zmApp.controllers').controller('zmApp.PortalLoginCtrl', ['$ionic
}
// coming here means continue
EventServer.refresh();
+
+
+
var statetoGo = $rootScope.lastState ? $rootScope.lastState : 'montage';
//NVRDataModel.debug ("logging state transition");
NVRDataModel.debug("2nd Auth: Transitioning state to: " +
@@ -243,6 +246,9 @@ angular.module('zmApp.controllers').controller('zmApp.PortalLoginCtrl', ['$ionic
// coming here means continue
// console.log (">>>>>>>>>>>>>>>>>>>>>>>>>NEVER");
EventServer.refresh();
+
+
+
var statetoGo = $rootScope.lastState ? $rootScope.lastState : 'montage';
NVRDataModel.debug("logging state transition");
NVRDataModel.debug("Transitioning state to: " +