Update davclient.js
This commit is contained in:
parent
a1d0682ef8
commit
e8661a6b56
|
@ -198,7 +198,7 @@ dav.Client.prototype = {
|
||||||
var propNode = propIterator.iterateNext();
|
var propNode = propIterator.iterateNext();
|
||||||
while(propNode) {
|
while(propNode) {
|
||||||
var content = propNode.textContent;
|
var content = propNode.textContent;
|
||||||
if (!content && propNode.hasChildNodes()) {
|
if (propNode.childNodes && propNode.childNodes.length > 0 && propNode.childNodes[0].nodeType === 1) {
|
||||||
content = propNode.childNodes;
|
content = propNode.childNodes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue