Author: vmolotkov
Date: 2008-08-26 10:25:35 -0400 (Tue, 26 Aug 2008)
New Revision: 10192
Modified:
trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
Log:
https://jira.jboss.org/jira/browse/RF-4270
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-08-26
14:25:30 UTC (rev 10191)
+++
trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js 2008-08-26
14:25:35 UTC (rev 10192)
@@ -138,6 +138,9 @@
switch (e.keyCode) {
case Event.KEY_ESC :
this.cancel(e);
+ if (!this.attributes.showControls) {
+ this.tempValueKeeper.blur();
+ }
Event.stop(e);
break;
case Event.KEY_RETURN :