diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-06-23 12:54:49 +0300 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-06-24 10:51:26 +0300 |
commit | e366ed6485a987cc7a77573bf3e46cba854b07b5 (patch) | |
tree | 471eb807698e22ccb7e1e62ef871da1230561362 /core | |
parent | eb8e1514587e078a3c4a832c6f4151c6fe0bf517 (diff) |
Don't reload page in case of auth errors during setup checks
If an error occurs during setup checks, do not let the global ajax
error handler reload the page.
Diffstat (limited to 'core')
-rw-r--r-- | core/js/setupchecks.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js index ee93781b074..9c601e7bd5f 100644 --- a/core/js/setupchecks.js +++ b/core/js/setupchecks.js @@ -76,7 +76,8 @@ $.ajax({ type: 'PROPFIND', url: url, - complete: afterCall + complete: afterCall, + allowAuthErrors: true }); return deferred.promise(); }, @@ -209,7 +210,8 @@ $.ajax({ type: 'GET', url: OC.linkTo('', oc_dataURL+'/htaccesstest.txt?t=' + (new Date()).getTime()), - complete: afterCall + complete: afterCall, + allowAuthErrors: true }); return deferred.promise(); }, |