X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/df248fcadb1956e5027424ab9e59c41ddd96d3bd..d8017ad81ac2b41c7d960fa1dd5b937a61023a34:/views/tabs/tabs.js?ds=inline diff --git a/views/tabs/tabs.js b/views/tabs/tabs.js index dcd3e96..c4d7697 100644 --- a/views/tabs/tabs.js +++ b/views/tabs/tabs.js @@ -31,6 +31,7 @@ define([ if(this.options.stacked) { this.nodes.tabBar.addClass('nav-stacked nav-pills'); } + return this; }, addTab: function(title, slug, content) { @@ -61,6 +62,10 @@ define([ } }, + getAsView: function() { + return this.$el; + }, + /* Events */ _onTabTitleClicked: function(e) {