Roo/TabPanel.js
authorEdward <edward@roojs.com>
Mon, 22 Sep 2014 02:05:16 +0000 (10:05 +0800)
committerEdward <edward@roojs.com>
Mon, 22 Sep 2014 02:05:16 +0000 (10:05 +0800)
Roo/TabPanel.js

index 8bb7aee..696f1cf 100644 (file)
@@ -214,12 +214,16 @@ Roo.extend(Roo.TabPanel, Roo.util.Observable, {
      * @param {Roo.TabPanelItem} item The TabPanelItem to add
      */
     addTabItem : function(item){
+        Roo.log('Running addTabItem!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!');
+        Roo.log(item);
         this.items[item.id] = item;
         this.items.push(item);
         if(this.resizeTabs){
+            Roo.log('resize tabs??');
            item.setWidth(this.currentTabWidth || this.preferredTabWidth);
            this.autoSizeTabs();
         }else{
+            Roo.log('no resize tabs??');
             item.autoSize();
         }
     },