diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-06-23 11:54:49 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-06-23 11:54:49 +0200 |
commit | 97f1813695a183df786b4e3bf4fe27691405bf44 (patch) | |
tree | b2c14fbeecdd249d75b11f41a27df24be408267e /core | |
parent | af98e3e641220db4ddf38a9270f535603526f6c5 (diff) | |
download | nextcloud-server-97f1813695a183df786b4e3bf4fe27691405bf44.tar.gz nextcloud-server-97f1813695a183df786b4e3bf4fe27691405bf44.zip |
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 f987c9f04e6..280c8d08c99 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(); }, |