diff options
Diffstat (limited to 'www/js/DataModel.js')
| -rw-r--r--[-rwxr-xr-x] | www/js/DataModel.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js index eb5cd7d7..acda8119 100755..100644 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -16,7 +16,11 @@ angular.module('zmApp.controllers') var currentServerMultiPortSupported = false; - var zmAppVersion = "unknown"; + /* + DO NOT TOUCH zmAppVersion + It is changed by sync_version.sh + */ + var zmAppVersion = "1.3.018"; var isBackground = false; var justResumed = false; var timeSinceResumed = -1; @@ -2838,7 +2842,8 @@ angular.module('zmApp.controllers') debug("Logging out using API method"); $http.get(loginData.apiurl + '/host/logout.json', { - timeout: 7000 + timeout: 7000, + transformResponse: undefined }) .then(function (s) { debug("Logout returned... "); |
