X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/266a16ec421df5bc8f2565884dd410918f1f1df4..e298a4a95de93951eee23d33ba7e8d1387a90a5b:/src/wlxml/wlxml.js diff --git a/src/wlxml/wlxml.js b/src/wlxml/wlxml.js index 6c6c40c..539d792 100644 --- 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.addMetadataRow({key: (this.tagName).toLowerCase().substr(prefixLength), value: $(this).text()}); + owner.addMetadata({key: (this.tagName).toLowerCase().substr(prefixLength), value: $(this).text()}); }); metadataNode.remove(); });