Roo/bootstrap/NavItem.js
authorEdward <edward@roojs.com>
Wed, 1 Apr 2015 02:08:05 +0000 (10:08 +0800)
committerEdward <edward@roojs.com>
Wed, 1 Apr 2015 02:08:05 +0000 (10:08 +0800)
Roo/bootstrap/NavItem.js

index af8aec7..9f32dd4 100644 (file)
@@ -148,6 +148,11 @@ Roo.extend(Roo.bootstrap.NavItem, Roo.bootstrap.Component,  {
         if(this.fireEvent('click', this, e) === false){
             return;
         };
+        
+        if(this.tagtype == 'span'){
+            return;
+        }
+        
         var p = this.parent();
         if (['tabs','pills'].indexOf(p.type)!==-1) {
             if (typeof(p.setActiveItem) !== 'undefined') {