setNode: function(node) {\r
this.dom.empty();\r
var nodes = this.nodes = {};\r
+ this.currentNode = node;\r
this.nodes[node.id] = node;\r
var parents = node.parents();\r
parents.each(function() {\r
return {\r
start: function() { sandbox.publish('ready'); },\r
getView: function() { return view.dom; },\r
- setNode: function(node) { view.setNode(node); },\r
+ setNode: function(wlxmlNode) {\r
+ if(!wlxmlNode.is(view.currentNode)) {\r
+ view.setNode(wlxmlNode);\r
+ }\r
+ },\r
highlightNode: function(id) { view.highlightNode(id); },\r
dimNode: function(id) { view.dimNode(id); }\r
}\r