Author: abelevich
Date: 2008-03-11 11:13:57 -0400 (Tue, 11 Mar 2008)
New Revision: 6699
Modified:
trunk/ui/inplaceSelect/src/main/config/component/inplaceselect.xml
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
Log:
fox buttons position
Modified: trunk/ui/inplaceSelect/src/main/config/component/inplaceselect.xml
===================================================================
--- trunk/ui/inplaceSelect/src/main/config/component/inplaceselect.xml 2008-03-11 15:09:31
UTC (rev 6698)
+++ trunk/ui/inplaceSelect/src/main/config/component/inplaceselect.xml 2008-03-11 15:13:57
UTC (rev 6699)
@@ -64,7 +64,7 @@
<name>defaultLabel</name>
<classname>java.lang.String</classname>
<description></description>
- <defaultvalue><![CDATA[""]]></defaultvalue>
+
<defaultvalue><![CDATA["\u00a0\u00a0\u00a0"]]></defaultvalue>
</property>
<property>
<name>showControls</name>
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-11
15:09:31 UTC (rev 6698)
+++
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js 2008-03-11
15:13:57 UTC (rev 6699)
@@ -24,7 +24,9 @@
setInputWidth : function($super, textSize) {
$super(textSize);
this.button.show();
- this.button.style.left = (parseInt(this.tempValueKeeper.style.width) -
this.button.offsetWidth) + "px";
+ var width = parseInt(this.tempValueKeeper.style.width);
+ this.button.style.left = ( width - this.button.offsetWidth) + "px";
+ return width;
},
switchingStatesHandler : function($super, e) {
Show replies by date