Roo/bootstrap/Menu.js
authorEdward <edward@roojs.com>
Mon, 30 Mar 2015 03:06:21 +0000 (11:06 +0800)
committerEdward <edward@roojs.com>
Mon, 30 Mar 2015 03:06:21 +0000 (11:06 +0800)
Roo/bootstrap/Menu.js

index 55764b1..6b7e334 100644 (file)
@@ -295,6 +295,12 @@ Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component,  {
         if (Roo.get(e.getTarget()).findParent('.dropdown-menu')) {
             return;
         }
+        
+        var t = this.findTargetItem(e);
+        if(t && t.isContainer){
+            return;
+        }
+        
         if (this.isVisible()) {
             Roo.log('hide');
             this.hide();