Roo/bootstrap/NavItem.js
authorAlan Knowles <alan@roojs.com>
Thu, 26 Nov 2015 05:00:53 +0000 (13:00 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 26 Nov 2015 05:00:53 +0000 (13:00 +0800)
Roo/bootstrap/NavItem.js

index 52c952e..4fed934 100644 (file)
@@ -160,7 +160,7 @@ Roo.extend(Roo.bootstrap.NavItem, Roo.bootstrap.Component,  {
         
         
         
-        Roo.log("fire event clicked");
+        //Roo.log("fire event clicked");
         if(this.fireEvent('click', this, e) === false){
             return;
         };
@@ -170,12 +170,12 @@ Roo.extend(Roo.bootstrap.NavItem, Roo.bootstrap.Component,  {
         }
         var p =  this.parent();
  
-        Roo.log(this.href);
+        //Roo.log(this.href);
         var ael = this.el.select('a',true).first();
-        Roo.log(ael);
+        //Roo.log(ael);
         
         if(ael && this.animateRef && this.href.indexOf('#') > -1){
-            Roo.log(["test:",ael.dom.href.split("#")[0], document.location.toString().split("#")[0]]);
+            //Roo.log(["test:",ael.dom.href.split("#")[0], document.location.toString().split("#")[0]]);
             if (ael.dom.href.split("#")[0] != document.location.toString().split("#")[0]) {
                 return; // ignore... - it's a 'hash' to another page.
             }
@@ -185,10 +185,7 @@ Roo.extend(Roo.bootstrap.NavItem, Roo.bootstrap.Component,  {
         }
         
         
-        
-        
-        
-        
+         
         if (['tabs','pills'].indexOf(this.type)!==-1) {
             if (typeof(p.setActiveItem) !== 'undefined') {
                 p.setActiveItem(this);