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);
}
}
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) {