[richfaces-svn-commits] JBoss Rich Faces SVN: r6355 - trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Tue Feb 26 13:01:15 EST 2008
Author: abelevich
Date: 2008-02-26 13:01:15 -0500 (Tue, 26 Feb 2008)
New Revision: 6355
Modified:
trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
Log:
Modified: trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
===================================================================
--- trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js 2008-02-26 18:01:01 UTC (rev 6354)
+++ trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js 2008-02-26 18:01:15 UTC (rev 6355)
@@ -23,6 +23,7 @@
tempKeeperClickHandler : function() {
this.comboList.isList = false;
+ this.clickOnField = true;
this.comboList.showWithDelay();
},
@@ -106,5 +107,12 @@
return this.inplaceInput.childNodes[6];
},
- setStrutWidth : function() {}
+ setStrutWidth : function() {},
+
+ switchingStatesHandler : function($super, e) {
+ if (!this.clickOnField) {
+ $super(e);
+ }
+ this.clickOnField = false;
+ }
});
More information about the richfaces-svn-commits
mailing list