fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
smartxml: data cloning handler gets reference to the cloned node
[fnpeditor.git]
/
src
/
wlxml
/
wlxml.js
diff --git
a/src/wlxml/wlxml.js
b/src/wlxml/wlxml.js
index
6c6c40c
..
539d792
100644
(file)
--- a/
src/wlxml/wlxml.js
+++ b/
src/wlxml/wlxml.js
@@
-269,7
+269,7
@@
$.extend(WLXMLDocument.prototype, {
owner = doc.createDocumentNode(metadataNode.parent()[0]);
metadataNode.children().each(function() {
owner = doc.createDocumentNode(metadataNode.parent()[0]);
metadataNode.children().each(function() {
- owner.addMetadata
Row
({key: (this.tagName).toLowerCase().substr(prefixLength), value: $(this).text()});
+ owner.addMetadata({key: (this.tagName).toLowerCase().substr(prefixLength), value: $(this).text()});
});
metadataNode.remove();
});
});
metadataNode.remove();
});