summaryrefslogtreecommitdiff
path: root/www/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/app.js')
-rw-r--r--www/js/app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/js/app.js b/www/js/app.js
index 0322d456..d82c7fc2 100644
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -954,6 +954,7 @@ angular.module('zmApp', [
console.log("****The application is going into background");
ZMDataModel.zmLog("ROOT APP:App is going into background");
+ ZMDataModel.setBackground(true);
ZMDataModel.zmLog("Stopping network pull...");
window.stop();
@@ -970,7 +971,7 @@ angular.module('zmApp', [
// ZMDataModel.zmDebug("sending enable push to Event Server");
//EventServer.sendMessage('push', {type:'control',enablepush:'1'});
}
- ZMDataModel.setBackground(true);
+
zmAutoLogin.stop();
if ($rootScope.zmPopup)