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.
This commit is contained in:
parent
af98e3e641
commit
97f1813695
1 changed files with 4 additions and 2 deletions
|
@ -76,7 +76,8 @@
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: 'PROPFIND',
|
type: 'PROPFIND',
|
||||||
url: url,
|
url: url,
|
||||||
complete: afterCall
|
complete: afterCall,
|
||||||
|
allowAuthErrors: true
|
||||||
});
|
});
|
||||||
return deferred.promise();
|
return deferred.promise();
|
||||||
},
|
},
|
||||||
|
@ -209,7 +210,8 @@
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: 'GET',
|
type: 'GET',
|
||||||
url: OC.linkTo('', oc_dataURL+'/htaccesstest.txt?t=' + (new Date()).getTime()),
|
url: OC.linkTo('', oc_dataURL+'/htaccesstest.txt?t=' + (new Date()).getTime()),
|
||||||
complete: afterCall
|
complete: afterCall,
|
||||||
|
allowAuthErrors: true
|
||||||
});
|
});
|
||||||
return deferred.promise();
|
return deferred.promise();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue