projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
attempt to show popovers really above.
[roojs1]
/
Roo
/
bootstrap
/
Popover.js
diff --git
a/Roo/bootstrap/Popover.js
b/Roo/bootstrap/Popover.js
index
8ec0fce
..
f984d2b
100644
(file)
--- a/
Roo/bootstrap/Popover.js
+++ b/
Roo/bootstrap/Popover.js
@@
-276,7
+276,7
@@
Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component, {
if (this.parent() && (this.over == 'parent' || (this.over === false))) {
on_el = this.parent().el;
} else if (this.over) {
if (this.parent() && (this.over == 'parent' || (this.over === false))) {
on_el = this.parent().el;
} else if (this.over) {
- Roo.get(this.over);
+
on_el =
Roo.get(this.over);
}
}
}
}
@@
-287,7
+287,14
@@
Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component, {
this.render(document.body);
}
this.render(document.body);
}
-
+ var x = this.alignEl.dom;
+ while (x && "auto" ==getComputedStyle(x).zIndex) {
+ //Roo.log(getComputedStyle(x).zIndex );
+ x = x.parentNode;
+ }
+ if (x) {
+ this.el.dom.style.zIndex = (1*getComputedStyle(x).zIndex) + 1000;
+ }
if (this.title === false) {
if (this.title === false) {