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.js16
1 files changed, 15 insertions, 1 deletions
diff --git a/www/js/app.js b/www/js/app.js
index c9bb9f9b..222d14db 100644
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -289,6 +289,8 @@ angular.module('zmApp', [
}
}
}
+
+ //console.log ("HTTP response");
return response;
}
@@ -892,8 +894,20 @@ angular.module('zmApp', [
zmAutoLogin.stop();
if ($rootScope.zmPopup)
$rootScope.zmPopup.close();
+
+
+ ZMDataModel.zmLog("Stopping network pull...");
+ window.stop();
+
//$ionicPopup.close();
-
+
+
+ /* if ($rootScope.platformOS == 'android')
+ {
+ ZMDataModel.zmLog("Android detected - calling stop");
+ window.stop();
+ //ionic.Platform.exitApp();
+ }*/
}, false);