Roo/bootstrap/Menu.js
authoredward <edward@roojs.com>
Fri, 21 Jul 2017 04:41:36 +0000 (12:41 +0800)
committeredward <edward@roojs.com>
Fri, 21 Jul 2017 04:41:36 +0000 (12:41 +0800)
Roo/bootstrap/Menu.js

index 24cbec6..39823ca 100644 (file)
@@ -279,7 +279,7 @@ Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component,  {
         if(this.el.getWidth() + xy[0] > Roo.lib.Dom.getViewWidth()){
             xy[0] = xy[0] - this.el.getWidth() + this.triggerEl.getWidth();
         }
-        
+        alert(this.el.getStyle('top').slice(-1));
         if(this.el.getStyle('top').slice(-1) != "%"){
             alert('run???');
             this.el.setXY(xy);