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.
pull/226/head^2
Vincent Petry 2016-06-23 11:54:49 +07:00
parent af98e3e641
commit 97f1813695
No known key found for this signature in database
GPG Key ID: AF8F9EFC56562186
1 changed files with 4 additions and 2 deletions

@ -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();
},