summaryrefslogtreecommitdiffstats
path: root/core/vendor
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-11-18 15:24:39 +0100
committerLukas Reschke <lukas@owncloud.com>2015-11-22 16:05:52 +0100
commite8661a6b563129f95f7d98322006feb9da8e2c7c (patch)
treea2c87910b39bc401f7d20cbb3ea20091e6fb8dfc /core/vendor
parenta1d0682ef849a452c0be4d107104e476007a6aa1 (diff)
downloadnextcloud-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.js2
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;
}