projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Roo/bootstrap/Menu.js
[roojs1]
/
roojs-bootstrap-debug.js
diff --git
a/roojs-bootstrap-debug.js
b/roojs-bootstrap-debug.js
index
cfa5688
..
5cc557e
100644
(file)
--- a/
roojs-bootstrap-debug.js
+++ b/
roojs-bootstrap-debug.js
@@
-2246,6
+2246,8
@@
Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component, {
this.hidden = false;
this.triggerEl.addClass('open');
+ xy = this.el.getAlignToXY(el, pos || this.defaultAlign);
+
if(this.el.getWidth() + xy[0] > Roo.lib.Dom.getViewWidth()){
xy[0] = xy[0] - this.el.getWidth() + this.triggerEl.getWidth();
}