diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-05-02 19:29:37 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-05-02 19:29:37 -0400 |
| commit | e84f7ee8493411473800fbb8d86cd15ec9b632eb (patch) | |
| tree | 06ae04457fcf602fc13744d2e564136400fe9962 | |
| parent | 708b11315e843c1e0b873964cbabd2be0a2907f1 (diff) | |
fix push transition states
| -rw-r--r-- | www/js/PortalLoginCtrl.js | 21 |
1 files changed, 3 insertions, 18 deletions
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; } } |
