diff options
| author | pliablepixels <pliablepixels@gmail.com> | 2016-03-23 09:48:00 -0400 |
|---|---|---|
| committer | pliablepixels <pliablepixels@gmail.com> | 2016-03-23 09:48:00 -0400 |
| commit | 53485a9807f7fbd09ead2a0d17fa1105ea1c0f6b (patch) | |
| tree | 51e58af4c8ae5fc4b6188d2e4ed4744045dd6c72 /www/js/app.js | |
| parent | ef13d9e54b1753178415ddf371b4b5efbc3fd8e3 (diff) | |
#208 - try to login with defaultserver even if auth fails
Former-commit-id: 9019c382506efd89e2b104d2e5b53130a6f86763
Diffstat (limited to 'www/js/app.js')
| -rw-r--r-- | www/js/app.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/www/js/app.js b/www/js/app.js index a471ffe4..f43c1b4f 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -768,8 +768,17 @@ angular.module('zmApp', [ function (error) { ZMDataModel.zmLog ("REACHABILITY ERROR " + JSON.stringify(error)); + ZMDataModel.zmLog ("Still trying to proceed with " + ZMDataModel.getLogin().serverName); + /* d.reject (error); - return d.promise; + return d.promise;*/ + proceedWithLogin() + .then (function(success) + { d.resolve(success); return d.promise;}, + function(error) + { d.reject(error); return d.promise;}); + + }); return d.promise; |
