Handle root node sent to findCanvasElementInParent
[fnpeditor.git] / src / editor / modules / nodePane / nodePane.js
index 5b4f80e..7473c2e 100644 (file)
@@ -36,7 +36,7 @@ return function(sandbox) {
 
             var widget = metaWidget.create({attrs:wlxmlNodeElement.getMetaAttributes()});
             widget.on('valueChanged', function(key, value) {
-                sandbox.publish('nodeElementChange', key, value);
+                wlxmlNodeElement.setMetaAttribute(key, value);
             });
             view.find('.metaFields').empty().append(widget.el);