From e84f7ee8493411473800fbb8d86cd15ec9b632eb Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Wed, 2 May 2018 19:29:37 -0400 Subject: fix push transition states --- www/js/PortalLoginCtrl.js | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) (limited to 'www') diff --git a/www/js/PortalLoginCtrl.js b/www/js/PortalLoginCtrl.js index b2d75dc9..32fc6d50 100644 --- a/www/js/PortalLoginCtrl.js +++ b/www/js/PortalLoginCtrl.js @@ -326,11 +326,7 @@ angular.module('zmApp.controllers').controller('zmApp.PortalLoginCtrl', ['$ionic if (parseInt($rootScope.tappedMid) > 0) { NVRDataModel.debug("Going to live view "); - $state.go("app.monitors", - {}, - { - reload: true - }); + $state.go("app.monitors"); return; } @@ -368,11 +364,7 @@ angular.module('zmApp.controllers').controller('zmApp.PortalLoginCtrl', ['$ionic if (ld.onTapScreen == $translate.instant('kTapMontage')) { NVRDataModel.debug("Going to montage"); - $state.go("app.montage", - {}, - { - reload: true - }); + $state.go("app.montage"); return; } @@ -383,20 +375,13 @@ angular.module('zmApp.controllers').controller('zmApp.PortalLoginCtrl', ['$ionic { "id": 0, "playEvent": false - }, - { - reload: true }); return; } else // we go to live { NVRDataModel.debug("Going to live view "); - $state.go("app.monitors", - {}, - { - reload: true - }); + $state.go("app.monitors"); return; } } -- cgit v1.2.3