projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a95b811
)
Roo/bootstrap/Menu.js
author
john
<john@roojs.com>
Fri, 17 Aug 2018 05:02:05 +0000
(13:02 +0800)
committer
john
<john@roojs.com>
Fri, 17 Aug 2018 05:02:05 +0000
(13:02 +0800)
Roo/bootstrap/Menu.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Menu.js
b/Roo/bootstrap/Menu.js
index
d64572d
..
3613cff
100644
(file)
--- a/
Roo/bootstrap/Menu.js
+++ b/
Roo/bootstrap/Menu.js
@@
-291,8
+291,12
@@
Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component, {
// but the list may align on trigger left or trigger top... should it be a properity?
+ this.el.setXY(xy);
+
if(this.el.getStyle('top') != 'auto' && this.el.getStyle('top').slice(-1) != "%"){
+
this.el.setXY(xy);
+
}
this.focus();