Author: abelevich
Date: 2008-02-26 13:01:01 -0500 (Tue, 26 Feb 2008)
New Revision: 6354
Modified:
trunk/sandbox/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
Log:
Modified:
trunk/sandbox/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
===================================================================
---
trunk/sandbox/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js 2008-02-26
17:27:52 UTC (rev 6353)
+++
trunk/sandbox/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js 2008-02-26
18:01:01 UTC (rev 6354)
@@ -218,6 +218,9 @@
*/
setInputWidth : function(textSize) {
+ if (this.currentState != 1) {
+ return;
+ }
var width = parseInt(this.attributes.inputWidth);
if (!width) {
var max = parseInt(this.attributes.inputMaxWidth);