diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-01-10 14:34:56 -0500 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-01-10 14:34:56 -0500 |
| commit | 8623646c266eb9e99103c9696c09456a42ac0060 (patch) | |
| tree | bd08963c93a1b9822fe3df11220a3bb116218485 /www/js/app.js | |
| parent | d288da87ccc65e2ef21dd9189ac14452077cf53e (diff) | |
#499 iOS related changes, also handled case where push broadcast can be called before PortalLogin is done - needs to be handled _after_ auth
Diffstat (limited to 'www/js/app.js')
| -rwxr-xr-x | www/js/app.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/www/js/app.js b/www/js/app.js index 765b765e..469c1db6 100755 --- a/www/js/app.js +++ b/www/js/app.js @@ -915,6 +915,7 @@ angular.module('zmApp', [ NVRDataModel.log("Came via push tap. onTapScreen=" + ld.onTapScreen); + $rootScope.pushOverride = true; //console.log ("***** NOTIFICATION TAPPED "); $rootScope.tappedNotification = 0; $ionicHistory.nextViewOptions( @@ -1984,6 +1985,8 @@ angular.module('zmApp', [ NVRDataModel.setBackground(true); NVRDataModel.setJustResumed(true); // used for window stop + EventServer.disconnect(); + NVRDataModel.log("ROOT APP:App is going into background"); $interval.cancel($rootScope.eventQueryInterval); |
