Roo/bootstrap/menu/Menu.js
authorEdward <edward@roojs.com>
Thu, 4 Dec 2014 09:58:43 +0000 (17:58 +0800)
committerEdward <edward@roojs.com>
Thu, 4 Dec 2014 09:58:43 +0000 (17:58 +0800)
Roo/bootstrap/menu/Menu.js

index b05c38e..dc0d7a8 100644 (file)
@@ -155,12 +155,19 @@ Roo.extend(Roo.bootstrap.menu.Menu, Roo.bootstrap.Component,  {
         this.hidden = false;
         this.el.addClass('open');
         
+        Roo.get(document).on("mouseup", this.onMouseUp, this);
+        
     },
     
     hide : function()
     {
         this.hidden = true;
         this.el.removeClass('open');;
+    },
+    
+    onMouseUp : function()
+    {
+        Roo.log('onMouseup');
     }
     
 });