Wrapping wlxmlNode
[fnpeditor.git] / views / tabs / tabs.js
index dcd3e96..52c8160 100644 (file)
@@ -29,8 +29,9 @@ define([
             }\r
             \r
             if(this.options.stacked) {\r
             }\r
             \r
             if(this.options.stacked) {\r
-                this.nodes.tabBar.addClass('nav-stacked nav-pills');\r
+                this.nodes.tabBar.addClass('nav-stacked nav-pills').removeClass('nav-tabs');\r
             }\r
             }\r
+            return this;\r
         },\r
         \r
         addTab: function(title, slug, content) {\r
         },\r
         \r
         addTab: function(title, slug, content) {\r
@@ -61,6 +62,10 @@ define([
             }\r
         },\r
         \r
             }\r
         },\r
         \r
+        getAsView: function() {\r
+            return this.$el;\r
+        },\r
+        \r
         /* Events */\r
         \r
         _onTabTitleClicked: function(e) {\r
         /* Events */\r
         \r
         _onTabTitleClicked: function(e) {\r