smartxml: fix tests - extensions needs to be registered before querying nodes
[fnpeditor.git] / src / editor / modules / rng / rng.js
index 73f83d5..e4731cc 100644 (file)
@@ -22,9 +22,6 @@ return function(sandbox) {
     }
      
     var commands = {
     }
      
     var commands = {
-        jumpToDocumentElement: function(element) {
-            sandbox.getModule('documentCanvas').jumpToElement(element);
-        },
         refreshCanvasSelection: function(selection) {
             var fragment = selection.toDocumentFragment();
             sandbox.getModule('documentToolbar').setDocumentFragment(fragment);
         refreshCanvasSelection: function(selection) {
             var fragment = selection.toDocumentFragment();
             sandbox.getModule('documentToolbar').setDocumentFragment(fragment);