sync
[roojs1] / Roo / bootstrap / dash / TabBox.js
index b3bc6e6..7753f85 100644 (file)
@@ -9,6 +9,7 @@ Roo.bootstrap.dash = Roo.bootstrap.dash || {};
 /**
  * @class Roo.bootstrap.dash.TabBox
  * @extends Roo.bootstrap.Component
+ * @children Roo.bootstrap.dash.TabPane
  * Bootstrap TabBox class
  * @cfg {String} title Title of the TabBox
  * @cfg {String} icon Icon of the TabBox
@@ -93,27 +94,21 @@ Roo.extend(Roo.bootstrap.dash.TabBox, Roo.bootstrap.Component,  {
                         ]
                     }
                 ]
-            }
+            };
         }
         
         var cfg = {
             tag: 'div',
             cls: 'nav-tabs-custom',
             cn: [
-                {
-            tag: 'ul',
-            cls: 'nav nav-tabs pull-right',
-            cn: [
-                header
-            ]
-        },
+                h,
                 {
                     tag: 'div',
                     cls: 'tab-content no-padding',
                     cn: []
                 }
             ]
-        }
+        };
 
         return  cfg;
     },