setNode: function(node) {\r
console.log('familyTree sets node');\r
var nodes = this.nodes = {};\r
+ this.currentNode = node;\r
var parentNode = node.parent();\r
var parent = undefined;\r
\r
start: function() {\r
sandbox.publish('ready');\r
},\r
- setNode: function(node) {\r
- view.setNode(node);\r
+ setNode: function(wlxmlNode) {\r
+ if(!wlxmlNode.is(view.currentNode))\r
+ view.setNode(wlxmlNode);\r
},\r
getView: function() {\r
return view.dom;\r