Roo/TabPanel.js
authorAlan Knowles <alan@akbkhome.com>
Sun, 31 Jul 2011 05:17:37 +0000 (13:17 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sun, 31 Jul 2011 05:17:37 +0000 (13:17 +0800)
Roo/TabPanel.js

index e777d29..8992c75 100644 (file)
@@ -105,6 +105,18 @@ Roo.TabPanel = function(container, config){
     this.cpad = this.el.getPadding("lr");
     this.hiddenCount = 0;
 
+
+    // toolbar on the tabbar support...
+    if (this.toolbar) { 
+        var se = this.stripEl;
+        var tbh = se.child('td.x-tab-strip-toolbar'); //createChild(  { tag: 'td', style: 'width:100%;'  });
+    
+    
+        var lotb = new Roo.Toolbar(tbh);
+    }
+   
+
+
     Roo.TabPanel.superclass.constructor.call(this);
 };