Merge pull request #23096 from owncloud/stable9_backport_23084

[stable 9] Fix MKCOL for IE11 as well
This commit is contained in:
Thomas Müller 2016-03-10 17:49:01 +01:00
commit 281a0e9e03

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) {