projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sync
[roojs1]
/
Roo
/
bootstrap
/
Popover.js
diff --git
a/Roo/bootstrap/Popover.js
b/Roo/bootstrap/Popover.js
index
1f09e1c
..
1268c5c
100644
(file)
--- a/
Roo/bootstrap/Popover.js
+++ b/
Roo/bootstrap/Popover.js
@@
-281,6
+281,8
@@
Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component, {
}
+ this.alignEl = on_el;
+
if (!this.el) {
this.render(document.body);
}
@@
-296,9
+298,8
@@
Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component, {
this.el.show();
this.el.dom.style.display = 'block';
-
- if (
on_e
l) {
+ if (
this.alignE
l) {
this.updatePosition(this.placement, true);
} else {