Author: vmolotkov
Date: 2008-08-27 09:28:21 -0400 (Wed, 27 Aug 2008)
New Revision: 10206
Modified:
trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
Log:
https://jira.jboss.org/jira/browse/RF-4198
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-27
00:34:27 UTC (rev 10205)
+++
trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js 2008-08-27
13:28:21 UTC (rev 10206)
@@ -124,6 +124,11 @@
},
tmpValueBlurHandler : function() {
+ if (this.skipBlur) {
+ this.skipBlur = false;
+ return;
+ }
+
if (this.clickOnBar) {
this.clickOnBar = false;
return;
@@ -139,6 +144,7 @@
case Event.KEY_ESC :
this.cancel(e);
if (!this.attributes.showControls) {
+ this.skipBlur = true;
this.tempValueKeeper.blur();
}
Event.stop(e);