},\r
getView: function() {\r
return view.dom;\r
+ },\r
+ highlightNode: function(id) {\r
+ view.dom.find('a[data-id="'+id+'"]').addClass('rng-hover');\r
+ },\r
+ dimNode: function(id) {\r
+ view.dom.find('a[data-id="'+id+'"]').removeClass('rng-hover');\r
}\r
};\r
};\r
},\r
\r
nodeHovered: function(node) {\r
- \r
+ sandbox.getModule('nodeFamilyTree').highlightNode(node.attr('id'));\r
},\r
\r
nodeBlured: function(node) {\r
- \r
+ sandbox.getModule('nodeFamilyTree').dimNode(node.attr('id'));\r
}\r
};\r
\r