summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-03-10 13:06:02 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-03-10 15:18:58 +0100
commitdd7131512df3aca500e8e53488ca6e854058465d (patch)
treed54b2dbf7aaba2e4266c9c1cae0ff61b3dfe456f /core
parent85168315abd5877f8aac3674d91ca59eb06bd85d (diff)
downloadnextcloud-server-dd7131512df3aca500e8e53488ca6e854058465d.tar.gz
nextcloud-server-dd7131512df3aca500e8e53488ca6e854058465d.zip
Fix MKCOL for IE11 as well
Using https://github.com/owncloud/core/pull/22274 we have to patch the iedavclient.js as well.
Diffstat (limited to 'core')
-rw-r--r--core/js/files/iedavclient.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/js/files/iedavclient.js b/core/js/files/iedavclient.js
index e5b3968a197..9e83f5b9a22 100644
--- a/core/js/files/iedavclient.js
+++ b/core/js/files/iedavclient.js
@@ -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) {