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

index becc48f..55764b1 100644 (file)
@@ -295,13 +295,9 @@ Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component,  {
         if (Roo.get(e.getTarget()).findParent('.dropdown-menu')) {
             return;
         }
-        var t = this.findTargetItem(e);
-        
-        Roo.log(t);
-        
         if (this.isVisible()) {
             Roo.log('hide');
-//            this.hide();
+            this.hide();
         } else {
             this.show(this.triggerEl, false, false);
         }