Merge pull request #23084 from owncloud/fix_23067
Fix MKCOL for IE11 as well
This commit is contained in:
commit
b3c1379b8c
|
@ -39,7 +39,12 @@
|
||||||
for(ii in headers) {
|
for(ii in headers) {
|
||||||
xhr.setRequestHeader(ii, headers[ii]);
|
xhr.setRequestHeader(ii, headers[ii]);
|
||||||
}
|
}
|
||||||
xhr.send(body);
|
|
||||||
|
if (body === undefined) {
|
||||||
|
xhr.send();
|
||||||
|
} else {
|
||||||
|
xhr.send(body);
|
||||||
|
}
|
||||||
|
|
||||||
return new Promise(function(fulfill, reject) {
|
return new Promise(function(fulfill, reject) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue