Roo/bootstrap/TabPanel.js
authorAlan Knowles <alan@roojs.com>
Thu, 5 Feb 2015 03:04:56 +0000 (11:04 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 5 Feb 2015 03:04:56 +0000 (11:04 +0800)
Roo/bootstrap/TabPanel.js

index 40ba7d4..f50bdd3 100644 (file)
@@ -46,7 +46,7 @@ Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component,  {
     getAutoCreate : function(){
         var cfg = {
             tag: 'div',
-            cls: 'tab-pane',
+            cls: 'tab-pane item',
             html: this.html || ''
         };
         
@@ -58,6 +58,7 @@ Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component,  {
             cfg.tabId = this.tabId;
         }
         
+        
         return cfg;
     },
     
@@ -71,7 +72,7 @@ Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component,  {
         if (typeof(this.navId) != 'undefined') {
             // not really needed.. but just in case.. parent should be a NavGroup.
             var tg = Roo.bootstrap.TabGroup.get(this.navId);
-             Roo.log(['register', tg, this]);
+            Roo.log(['register', tg, this]);
             tg.register(this);
         }
     },