X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/18d3b922d43d185d122e1ac9d86e827c67f9e126..75e12ca1b25cdcdb457ee2a159a0bf4287841c63:/src/editor/modules/rng/rng.js 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();