summaryrefslogtreecommitdiff
path: root/www/js/PortalLoginCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-05-02 19:29:37 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-05-02 19:29:37 -0400
commite84f7ee8493411473800fbb8d86cd15ec9b632eb (patch)
tree06ae04457fcf602fc13744d2e564136400fe9962 /www/js/PortalLoginCtrl.js
parent708b11315e843c1e0b873964cbabd2be0a2907f1 (diff)
fix push transition states
Diffstat (limited to 'www/js/PortalLoginCtrl.js')
-rw-r--r--www/js/PortalLoginCtrl.js21
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;
}
}