Skip to content
Snippets Groups Projects
Commit e8661a6b authored by Vincent Petry's avatar Vincent Petry Committed by Lukas Reschke
Browse files

Update davclient.js

parent a1d0682e
Branches
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment