fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
editor: handle invalid xml sent as a wlxml document
[fnpeditor.git]
/
src
/
editor
/
modules
/
nodeFamilyTree
/
nodeFamilyTree.js
diff --git
a/src/editor/modules/nodeFamilyTree/nodeFamilyTree.js
b/src/editor/modules/nodeFamilyTree/nodeFamilyTree.js
index
d6a6290
..
e2a4eb8
100644
(file)
--- a/
src/editor/modules/nodeFamilyTree/nodeFamilyTree.js
+++ b/
src/editor/modules/nodeFamilyTree/nodeFamilyTree.js
@@
-65,7
+65,7
@@
return function(sandbox) {
items.push(nodeElementParent);
parent = {
id: items.length - 1,
items.push(nodeElementParent);
parent = {
id: items.length - 1,
- repr: wlxmlUtils.
wlxmlTagNames[nodeElementParent.getTagName()] + (nodeElementParent.getClass() ? ' / ' + wlxmlUtils.wlxmlClassNames[nodeElementParent.getClass()]
: '')
+ repr: wlxmlUtils.
getTagLabel(nodeElementParent.getTagName()) + (nodeElementParent.getClass() ? ' / ' + wlxmlUtils.getClassLabel(nodeElementParent.getClass())
: '')
};
}
};
}
@@
-91,7
+91,7
@@
return function(sandbox) {
} else {
contents.push({
id: items.length,
} else {
contents.push({
id: items.length,
- repr: wlxmlUtils.
wlxmlTagNames[child.getTagName()] + (child.getClass() ? ' / ' + wlxmlUtils.wlxmlClassNames[child.getClass()]
: '')
+ repr: wlxmlUtils.
getTagLabel(child.getTagName()) + (child.getClass() ? ' / ' + wlxmlUtils.getClassLabel(child.getClass())
: '')
});
}
items.push(child);
});
}
items.push(child);