From 19347187d83b9bbf9e9a8c726a0816267731516c Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Thu, 10 Mar 2016 13:06:02 +0100 Subject: [PATCH] Fix MKCOL for IE11 as well Using https://github.com/owncloud/core/pull/22274 we have to patch the iedavclient.js as well. --- core/js/files/iedavclient.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/js/files/iedavclient.js b/core/js/files/iedavclient.js index e5b3968a19..9e83f5b9a2 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) {