Test for canvas.nodeInsideList
[fnpeditor.git] / modules / nodePane / nodePane.js
index a9ef9e4..b825b1b 100644 (file)
@@ -24,9 +24,9 @@ return function(sandbox) {
         getView: function() {\r
             return view;\r
         },\r
-        setNode: function(node) {\r
-            view.find('.rng-module-nodePane-tagSelect').val(node.tag);\r
-            view.find('.rng-module-nodePane-classSelect').val(node.klass);\r
+        setNode: function(canvasNode) {\r
+            view.find('.rng-module-nodePane-tagSelect').val(canvasNode.getTag());\r
+            view.find('.rng-module-nodePane-classSelect').val(canvasNode.getClass());\r
         }\r
     }\r
     \r