X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/2bb0e6a7d19dc695f82373e568e6959c6b995eca..e923d179bfd4a70dc7df8e128063ed2a3284fc4f:/modules/nodePane/nodePane.js diff --git a/modules/nodePane/nodePane.js b/modules/nodePane/nodePane.js index fc8284f..037715f 100644 --- a/modules/nodePane/nodePane.js +++ b/modules/nodePane/nodePane.js @@ -23,10 +23,8 @@ return function(sandbox) { return view; }, setNode: function(node) { - var tag = node.attr('wlxml-tag'); - var klass = node.attr('wlxml-class'); - view.find('.rng-module-nodePane-tagSelect').val(tag); - view.find('.rng-module-nodePane-classSelect').val(klass); + view.find('.rng-module-nodePane-tagSelect').val(node.tag); + view.find('.rng-module-nodePane-classSelect').val(node.klass); } }