Author: abelevich
Date: 2008-07-15 11:08:12 -0400 (Tue, 15 Jul 2008)
New Revision: 9614
Modified:
trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
Log:
http://jira.jboss.com/jira/browse/RF-3883
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-07-15
14:36:37 UTC (rev 9613)
+++
trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js 2008-07-15
15:08:12 UTC (rev 9614)
@@ -312,7 +312,7 @@
var value = this.valueKeeper.value;
this.endEditableState();
- if (userValue == "") {
+ if (userValue.blank()) {
this.setDefaultText();
this.valueKeeper.value = "";
} else {