documentCanvas - removing yellow "glow" around contenteditable element in Chrome
[fnpeditor.git] / modules / rng / rng.js
index a42632d..0322ca2 100644 (file)
@@ -113,11 +113,16 @@ return function(sandbox) {
         },\r
         \r
         nodeHovered: function(node) {\r
         },\r
         \r
         nodeHovered: function(node) {\r
+            sandbox.getModule('documentCanvas').highlightNode(node.attr('id'));\r
             sandbox.getModule('nodeFamilyTree').highlightNode(node.attr('id'));\r
             sandbox.getModule('nodeFamilyTree').highlightNode(node.attr('id'));\r
+            sandbox.getModule('nodeBreadCrumbs').highlightNode(node.attr('id'));\r
+            \r
         },\r
         \r
         nodeBlured: function(node) {\r
         },\r
         \r
         nodeBlured: function(node) {\r
+            sandbox.getModule('documentCanvas').dimNode(node.attr('id'));\r
             sandbox.getModule('nodeFamilyTree').dimNode(node.attr('id'));\r
             sandbox.getModule('nodeFamilyTree').dimNode(node.attr('id'));\r
+            sandbox.getModule('nodeBreadCrumbs').dimNode(node.attr('id'));\r
         }\r
     };\r
 \r
         }\r
     };\r
 \r