diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-11-18 15:24:39 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-11-22 16:05:52 +0100 |
commit | e8661a6b563129f95f7d98322006feb9da8e2c7c (patch) | |
tree | a2c87910b39bc401f7d20cbb3ea20091e6fb8dfc /core/vendor | |
parent | a1d0682ef849a452c0be4d107104e476007a6aa1 (diff) | |
download | nextcloud-server-e8661a6b563129f95f7d98322006feb9da8e2c7c.tar.gz nextcloud-server-e8661a6b563129f95f7d98322006feb9da8e2c7c.zip |
Update davclient.js
Diffstat (limited to 'core/vendor')
-rw-r--r-- | core/vendor/davclient.js/lib/client.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/vendor/davclient.js/lib/client.js b/core/vendor/davclient.js/lib/client.js index 93678f09248..39c1b0f3e93 100644 --- a/core/vendor/davclient.js/lib/client.js +++ b/core/vendor/davclient.js/lib/client.js @@ -198,7 +198,7 @@ dav.Client.prototype = { var propNode = propIterator.iterateNext(); while(propNode) { var content = propNode.textContent; - if (!content && propNode.hasChildNodes()) { + if (propNode.childNodes && propNode.childNodes.length > 0 && propNode.childNodes[0].nodeType === 1) { content = propNode.childNodes; } |