Roo/bootstrap/MenuItem.js
authorAlan Knowles <alan@roojs.com>
Fri, 16 May 2014 05:50:58 +0000 (13:50 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 16 May 2014 05:50:58 +0000 (13:50 +0800)
Roo/bootstrap/MenuItem.js

index 89fc634..9bdbc54 100644 (file)
@@ -68,6 +68,7 @@ Roo.extend(Roo.bootstrap.MenuItem, Roo.bootstrap.Component,  {
         if(this.preventDefault){
             e.preventDefault();
         }
+        this.parent().hideMenuItems();
         
         this.fireEvent('click', this, e);
     }