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

index 696f1cf..8bb7aee 100644 (file)
@@ -214,16 +214,12 @@ 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();
         }
     },