diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-10 15:32:27 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-10 15:32:27 +0100 |
commit | b3c1379b8c15f4f81cbf1d2a3f4c63e41b4406ed (patch) | |
tree | 03d1f981e3c00338df84d470d839024ba70ca4f3 | |
parent | 51072f742ea2988d8e485dff60d81834e077fe3f (diff) | |
parent | 19347187d83b9bbf9e9a8c726a0816267731516c (diff) | |
download | nextcloud-server-b3c1379b8c15f4f81cbf1d2a3f4c63e41b4406ed.tar.gz nextcloud-server-b3c1379b8c15f4f81cbf1d2a3f4c63e41b4406ed.zip |
Merge pull request #23084 from owncloud/fix_23067
Fix MKCOL for IE11 as well
-rw-r--r-- | core/js/files/iedavclient.js | 7 |
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) { |