Skip to content
Snippets Groups Projects
Commit 19347187 authored by Roeland Jago Douma's avatar Roeland Jago Douma
Browse files

Fix MKCOL for IE11 as well

Using https://github.com/owncloud/core/pull/22274 we have to patch the
iedavclient.js as well.
parent 51072f74
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,12 @@ ...@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment