Author: vmolotkov
Date: 2008-08-21 14:58:59 -0400 (Thu, 21 Aug 2008)
New Revision: 10169
Modified:
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/css/inplaceselect.xcss
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx
Log:
https://jira.jboss.org/jira/browse/RF-4225
Modified:
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/css/inplaceselect.xcss
===================================================================
---
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/css/inplaceselect.xcss 2008-08-21
18:58:53 UTC (rev 10168)
+++
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/css/inplaceselect.xcss 2008-08-21
18:58:59 UTC (rev 10169)
@@ -21,7 +21,7 @@
}
.rich-inplace-select {
- /*position : relative; */
+ position : relative;
}
.rich-inplace-select-view{
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-08-21
18:58:53 UTC (rev 10168)
+++
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js 2008-08-21
18:58:59 UTC (rev 10169)
@@ -169,7 +169,9 @@
this.cancel(event);
break;
case Event.KEY_TAB :
- this.save();
+ if (this.attributes.showControls) {
+ this.save();
+ }
break;
}
},
Modified: trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx
===================================================================
--- trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx 2008-08-21 18:58:53 UTC
(rev 10168)
+++ trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx 2008-08-21 18:58:59 UTC
(rev 10169)
@@ -93,7 +93,7 @@
</jsp:scriptlet>
<input id="#{clientId}inplaceTmpValue"
type="text"
- style='clip:rect(0px 0px 10px 10px)'
+ style='clip:rect(0px 0px 0px 0px)'
value="#{fieldLabel}"
autocomplete="off"
maxlength='#{component.attributes["inputMaxLength"]}'