summaryrefslogtreecommitdiff
path: root/www/js/LoginCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-10-22 09:12:18 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-10-22 09:12:18 -0400
commit304ec3a2ed6ec5de921894aa1bc853548b0fcfb3 (patch)
tree0e32b121e6522a8d061d243372e4a353365552cb /www/js/LoginCtrl.js
parente3076881b748fff53690373f02211706b60fab79 (diff)
#725 also added push handler in portal if broadcast before view is ready. Removed from login as it may come here due to auth fail
Diffstat (limited to 'www/js/LoginCtrl.js')
-rw-r--r--www/js/LoginCtrl.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/js/LoginCtrl.js b/www/js/LoginCtrl.js
index 568b67ed..0585f3c3 100644
--- a/www/js/LoginCtrl.js
+++ b/www/js/LoginCtrl.js
@@ -34,14 +34,14 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r
}
$scope.$on ( "process-push", function () {
- NVRDataModel.debug (">> LoginCtrl: push handler");
- var s = NVRDataModel.evaluateTappedNotification();
+ NVRDataModel.debug (">> LoginCtrl: push handler. Not processing push, because you might be here due to login failure");
+ /*var s = NVRDataModel.evaluateTappedNotification();
NVRDataModel.debug("tapped Notification evaluation:"+ JSON.stringify(s));
$ionicHistory.nextViewOptions({
disableAnimate:true,
disableBack: true
});
- $state.go(s[0],s[1],s[2]);
+ $state.go(s[0],s[1],s[2]);*/
});
//----------------------------------------------------------------