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]
/
Roo
/
bootstrap
/
Menu.js
diff --git
a/Roo/bootstrap/Menu.js
b/Roo/bootstrap/Menu.js
index
d64572d
..
6aec450
100644
(file)
--- a/
Roo/bootstrap/Menu.js
+++ b/
Roo/bootstrap/Menu.js
@@
-280,6
+280,8
@@
Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component, {
this.triggerEl.addClass('open');
// reassign x when hitting right
+ Roo.log(this.el.getWidth());
+
if(this.el.getWidth() + xy[0] >= Roo.lib.Dom.getViewWidth()){
xy[0] = xy[0] - this.el.getWidth() + this.triggerEl.getWidth();
}