X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/7263e5132059abc0e93deac2175db475f90e7617..24e1f42110e9836448816a3297c3fb291dda5cea:/src/editor/modules/rng/rng.js?ds=sidebyside diff --git a/src/editor/modules/rng/rng.js b/src/editor/modules/rng/rng.js index fc82fc8..fc4afb0 100644 --- a/src/editor/modules/rng/rng.js +++ b/src/editor/modules/rng/rng.js @@ -16,11 +16,11 @@ return function(sandbox) { /* globals gettext */ var logger = logging.getLogger('editor.modules.rng'); - + function addMainTab(title, slug, view) { - views.mainTabs.addTab(title, slug, view); + views.mainTabs.addTab(title, slug, view, sandbox.getTutorialItem(slug)); } - + var commands = { refreshCanvasSelection: function(selection) { var fragment = selection.toDocumentFragment();