Author: abelevich
Date: 2008-03-10 15:20:11 -0400 (Mon, 10 Mar 2008)
New Revision: 6664
Modified:
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
Log:
set "position: relative" style to the parent element when edit state started and
remove it when ended. (IE z-index bug fix).
Modified:
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
===================================================================
---
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js 2008-03-10
19:17:32 UTC (rev 6663)
+++
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js 2008-03-10
19:20:11 UTC (rev 6664)
@@ -37,6 +37,7 @@
},
startEditableState : function($super, textSize) {
+ this.inplaceInput.style.position = "relative";
$super(textSize);
this.button.show();
if (this.attributes.openOnEdit) {
@@ -45,6 +46,7 @@
},
endEditableState : function($super) {
+ this.inplaceInput.style.position = "";
$super();
this.button.hide();
},
Show replies by date