Merge pull request #23084 from owncloud/fix_23067

Fix MKCOL for IE11 as well
This commit is contained in:
Thomas Müller 2016-03-10 15:32:27 +01:00
commit b3c1379b8c
1 changed files with 6 additions and 1 deletions

View File

@ -39,7 +39,12 @@
for(ii in headers) {
xhr.setRequestHeader(ii, headers[ii]);
}
xhr.send(body);
if (body === undefined) {
xhr.send();
} else {
xhr.send(body);
}
return new Promise(function(fulfill, reject) {