Roo/bootstrap/Navbar/Item.js
authorAlan Knowles <alan@roojs.com>
Tue, 22 Jul 2014 08:17:18 +0000 (16:17 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 22 Jul 2014 08:17:18 +0000 (16:17 +0800)
Roo/bootstrap/Navbar/Item.js

index d19352f..18dfe1a 100644 (file)
@@ -185,7 +185,6 @@ Roo.extend(Roo.bootstrap.Navbar.Item, Roo.bootstrap.Component,  {
            
            
            
-            this.onTabsClick(e);
         } 
     },
     
@@ -205,23 +204,9 @@ Roo.extend(Roo.bootstrap.Navbar.Item, Roo.bootstrap.Component,  {
        }
        
        
-    },
-     // this should not be here...
-
-    onTabsClick : function(e)
-    {
-        
-        if(this.href && this.href.substring(0,1) == '#'){
-            var tab = Roo.select('[tabId=' + this.href + ']', true).first();
-
-            Roo.each(tab.findParent('.tab-content', 0, true).select('.active', true).elements, function(v){
-                v.removeClass('active');
-            });
-
-            tab.addClass('active');
-        }
     }
-    
+     // this should not be here...
 });