Roo/bootstrap/Menu.js
authorEdward <edward@roojs.com>
Thu, 4 Dec 2014 07:47:15 +0000 (15:47 +0800)
committerEdward <edward@roojs.com>
Thu, 4 Dec 2014 07:47:15 +0000 (15:47 +0800)
Roo/bootstrap/Menu.js

index e45603c..e60c7bb 100644 (file)
@@ -241,14 +241,13 @@ Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component,  {
             
             //xy = this.el.adjustForConstraints(xy);
         }
-        xy = [77,-34]
-        this.el.setXY(xy);
-        this.el.show();
-//        this.hideMenuItems();
-//        this.hidden = false;
-////        this.triggerEl.addClass('open');
-//        this.focus();
-//        this.fireEvent("show", this);
+        //this.el.setXY(xy);
+        //this.el.show();
+        this.hideMenuItems();
+        this.hidden = false;
+        this.triggerEl.addClass('open');
+        this.focus();
+        this.fireEvent("show", this);
     },
     
     focus : function(){