X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/1726f584bb8ff2770506aae2e77fe27fbfd5ab98..cd02846fc9db03e6d9a2add20150b8808a66d850:/src/editor/modules/rng/rng.js diff --git a/src/editor/modules/rng/rng.js b/src/editor/modules/rng/rng.js index 614fc76..58f4dee 100644 --- a/src/editor/modules/rng/rng.js +++ b/src/editor/modules/rng/rng.js @@ -191,14 +191,14 @@ return function(sandbox) { ready: function() { views.currentNodePaneLayout.appendView(sandbox.getModule('nodeFamilyTree').getView()); }, - elementEntered: function(element) { - commands.highlightDocumentElement(element, 'nodeFamilyTree'); + nodeEntered: function(node) { + commands.highlightDocumentElement(node, 'nodeFamilyTree'); }, - elementLeft: function(element) { - commands.dimDocumentElement(element, 'nodeFamilyTree'); + nodeLeft: function(node) { + commands.dimDocumentElement(node, 'nodeFamilyTree'); }, - elementClicked: function(element) { - commands.jumpToDocumentElement(element); + nodeClicked: function(node) { + commands.jumpToDocumentElement(node); } };