Roo/bootstrap/menu/Menu.js
authorEdward <edward@roojs.com>
Fri, 5 Dec 2014 09:01:18 +0000 (17:01 +0800)
committerEdward <edward@roojs.com>
Fri, 5 Dec 2014 09:01:18 +0000 (17:01 +0800)
Roo/bootstrap/menu/Menu.js

index 76e2999..699e6b2 100644 (file)
@@ -194,10 +194,13 @@ Roo.extend(Roo.bootstrap.menu.Menu, Roo.bootstrap.Component,  {
         this.hidden = false;
         this.el.addClass('open');
         
+        this.list().setXY([0,0])
+        
         Roo.get(document).on("mouseup", this.onMouseUp, this);
         
         this.fireEvent("show", this);
         
+        
     },
     
     hide : function()