Roo/bootstrap/NavItem.js
authorEdward <edward@roojs.com>
Mon, 27 Apr 2015 08:32:09 +0000 (16:32 +0800)
committerEdward <edward@roojs.com>
Mon, 27 Apr 2015 08:32:09 +0000 (16:32 +0800)
Roo/bootstrap/NavItem.js

index c547ead..23e12e3 100644 (file)
@@ -180,6 +180,11 @@ Roo.extend(Roo.bootstrap.NavItem, Roo.bootstrap.Component,  {
             }
             
         }
+        
+        if(is_was_active){
+            this.was_active = true;
+        }
+        
         this.active = state;
         
         if (!state ) {