diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-11-24 11:59:00 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-24 15:26:53 +0100 |
commit | b1ca43185246f437a54626b8dd56c157639d46ec (patch) | |
tree | 359212b45946778a4421321139df77ca9ad0ca57 /core/js/files | |
parent | ae36c01b959d1cbdaeabb46d30cb416aae428a88 (diff) | |
download | nextcloud-server-b1ca43185246f437a54626b8dd56c157639d46ec.tar.gz nextcloud-server-b1ca43185246f437a54626b8dd56c157639d46ec.zip |
Fix for parsing pretty printed Webdav responses
Update davclient.js + adjust IE workaround for this
Diffstat (limited to 'core/js/files')
-rw-r--r-- | core/js/files/iedavclient.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/js/files/iedavclient.js b/core/js/files/iedavclient.js index bc6bce2f9ae..4fd9a3a3bf4 100644 --- a/core/js/files/iedavclient.js +++ b/core/js/files/iedavclient.js @@ -145,10 +145,7 @@ var k = 0; for (k = 0; k < propNode.childNodes.length; k++) { var prop = propNode.childNodes[k]; - var value = prop.textContent || prop.text; - if (prop.childNodes && prop.childNodes.length > 0 && prop.childNodes[0].nodeType === 1) { - value = prop.childNodes; - } + var value = this._parsePropNode(prop); propStat.properties['{' + prop.namespaceURI + '}' + (prop.localName || prop.baseName)] = value; } |