Refactoring
[fnpeditor.git] / modules / nodePane / nodePane.js
index fc8284f..037715f 100644 (file)
@@ -23,10 +23,8 @@ return function(sandbox) {
             return view;\r
         },\r
         setNode: function(node) {\r
-            var tag = node.attr('wlxml-tag');\r
-            var klass = node.attr('wlxml-class');\r
-            view.find('.rng-module-nodePane-tagSelect').val(tag);\r
-            view.find('.rng-module-nodePane-classSelect').val(klass);\r
+            view.find('.rng-module-nodePane-tagSelect').val(node.tag);\r
+            view.find('.rng-module-nodePane-classSelect').val(node.klass);\r
         }\r
     }\r
     \r