Fixes PopupImplIE6 to keep their IFrame shims' z-index tied to their associated
PopupPanels.
Issue: 1279
Patch by: mat.gessel
Review by: ajr, jgw
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@2449 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/user/client/ui/impl/PopupImplIE6.java b/user/src/com/google/gwt/user/client/ui/impl/PopupImplIE6.java
index 42a90e5..52e43f2 100644
--- a/user/src/com/google/gwt/user/client/ui/impl/PopupImplIE6.java
+++ b/user/src/com/google/gwt/user/client/ui/impl/PopupImplIE6.java
@@ -61,12 +61,14 @@
style.top = popup.offsetTop;
style.width = popup.offsetWidth;
style.height = popup.offsetHeight;
-
+ style.zIndex = popup.style.zIndex;
+
// updates position and dimensions as popup is moved & resized
style.setExpression('left', 'this.__popup.offsetLeft');
style.setExpression('top', 'this.__popup.offsetTop');
style.setExpression('width', 'this.__popup.offsetWidth');
style.setExpression('height', 'this.__popup.offsetHeight');
+ style.setExpression('zIndex', 'this.__popup.style.zIndex');
popup.parentElement.insertBefore(frame, popup);
}-*/;