X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/18d3b922d43d185d122e1ac9d86e827c67f9e126..75e12ca1b25cdcdb457ee2a159a0bf4287841c63:/src/editor/views/tabs/tabs.js diff --git a/src/editor/views/tabs/tabs.js b/src/editor/views/tabs/tabs.js index 1b7ba44..0310a04 100644 --- a/src/editor/views/tabs/tabs.js +++ b/src/editor/views/tabs/tabs.js @@ -39,7 +39,7 @@ define([ return this; }, - addTab: function(title, slug, content) { + addTab: function(title, slug, content, tutorial) { if(this.contents[slug]) { this.contents[slug].detach(); } @@ -49,7 +49,7 @@ define([ var icon = title.icon || null; if(!this.tabExists(slug)) { - this.nodes.tabBar.append(this.handleTemplate({text: text, icon: icon, slug: slug})); + this.nodes.tabBar.append(this.handleTemplate({text: text, icon: icon, slug: slug, tutorial: tutorial})); } if(!this.selectedTab) { this.selectTab(slug);