Roo/bootstrap/NavItem.js
authorAlan Knowles <alan@roojs.com>
Tue, 10 Mar 2015 07:14:41 +0000 (15:14 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 10 Mar 2015 07:14:41 +0000 (15:14 +0800)
Roo/bootstrap/NavItem.js

index a0eec47..a89ec6d 100644 (file)
@@ -151,7 +151,7 @@ Roo.extend(Roo.bootstrap.NavItem, Roo.bootstrap.Component,  {
                 p.setActiveItem(this);
             }
         }
-        // if parent is a navbarheader....
+        // if parent is a navbarheader....- and link is probably a '#' page ref.. then remove the expanded menu.
         if (p.parentType == 'NavHeaderbar' && !this.menu) {
             // remove the collapsed menu expand...
             p.parent().el.select('.navbar-collapse',true).removeClass('in');