Fix another case of #494
This commit is contained in:
parent
3f1c4c682a
commit
43832dd532
|
@ -903,7 +903,9 @@ treemode._updateTreePath = function (pathNodes) {
|
|||
}
|
||||
|
||||
function getName(node) {
|
||||
return node.fieldInnerText || node.field || (isNaN(node.index) ? node.type : node.index);
|
||||
return node.field !== undefined
|
||||
? node._escapeHTML(node.field)
|
||||
: (isNaN(node.index) ? node.type : node.index);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue