summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-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;
}
}