Author: abelevich
Date: 2008-03-11 11:08:49 -0400 (Tue, 11 Mar 2008)
New Revision: 6697
Modified:
trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/css/inplaceinput.xcss
trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
Log:
fix button position
Modified:
trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/css/inplaceinput.xcss
===================================================================
---
trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/css/inplaceinput.xcss 2008-03-11
14:40:31 UTC (rev 6696)
+++
trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/css/inplaceinput.xcss 2008-03-11
15:08:49 UTC (rev 6697)
@@ -8,7 +8,7 @@
<![CDATA[
.rich-inplace {
- position:relative;
+ /*position:relative;*/
}
.rich-inplace-changed {
@@ -73,6 +73,7 @@
.rich-inplace-input-controls-set {
white-space : nowrap;
+ z-index: 3;
}
Modified:
trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
===================================================================
---
trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js 2008-03-11
14:40:31 UTC (rev 6696)
+++
trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js 2008-03-11
15:08:49 UTC (rev 6697)
@@ -167,6 +167,7 @@
},*/
endEditableState : function() {
+ this.inplaceInput.style.position = "";
if (this.bar) {
this.bar.hide();
}
@@ -179,6 +180,8 @@
},*/
startEditableState : function(textSize) {
+ this.inplaceInput.style.position = "relative";
+
this.changeState(Richfaces.InplaceInput.STATES[1]);
var inputSize = this.setInputWidth(textSize);
Show replies by date