diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-03-10 13:06:02 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-03-10 13:36:26 +0100 |
commit | 19347187d83b9bbf9e9a8c726a0816267731516c (patch) | |
tree | 03d1f981e3c00338df84d470d839024ba70ca4f3 /core | |
parent | 51072f742ea2988d8e485dff60d81834e077fe3f (diff) | |
download | nextcloud-server-19347187d83b9bbf9e9a8c726a0816267731516c.tar.gz nextcloud-server-19347187d83b9bbf9e9a8c726a0816267731516c.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.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) { |