diff options
Diffstat (limited to 'www/js/app.js')
| -rw-r--r-- | www/js/app.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/www/js/app.js b/www/js/app.js index 672f0943..0ef6c915 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -642,6 +642,13 @@ angular.module('zmApp', [ $rootScope.online = true; //$rootScope.minAlarmCount = "1"; + + // only for android + $rootScope.exitApp = function() + { + ZMDataModel.zmLog ("user exited app"); + ionic.Platform.exitApp(); + }; // This is a global exception interceptor |
