Roo/bootstrap/dash/TabBox.js
authorAlan Knowles <alan@roojs.com>
Fri, 30 Jan 2015 04:07:39 +0000 (12:07 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 30 Jan 2015 04:07:39 +0000 (12:07 +0800)
Roo/bootstrap/dash/TabBox.js

index 21839e8..60f3d9e 100644 (file)
@@ -100,10 +100,18 @@ Roo.extend(Roo.bootstrap.dash.TabBox, Roo.bootstrap.Component,  {
         ctr.append
         
         var tab = ctr.createChild({
+            tag : 'li',
+            cls : 'active',
+            cn : [
+                {
+                    tag : 'a',
+                    href:'#',
+                    html : pane.title
+                }
+            ]
             
             
-            
-        }, position);
+        });