Roo/bootstrap/Menu.js
authorAlan Knowles <alan@roojs.com>
Fri, 16 May 2014 06:47:16 +0000 (14:47 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 16 May 2014 06:47:16 +0000 (14:47 +0800)
Roo/bootstrap/Menu.js

index 46588ce..325cd52 100644 (file)
@@ -218,11 +218,13 @@ Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component,  {
         }
         if(_e !== false){
             this.fireEvent("beforeshow", this);
-            xy = this.el.adjustForConstraints(xy);
+            
+            //xy = this.el.adjustForConstraints(xy);
         }
-        this.el.setXY(xy);
-        this.el.show();
+        //this.el.setXY(xy);
+        //this.el.show();
         this.hidden = false;
+        this.triggerEl.addClass('open');
         this.focus();
         this.fireEvent("show", this);
     },