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
|
@ -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();
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue