[richfaces-svn-commits] JBoss Rich Faces SVN: r6435 - 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
Thu Feb 28 14:03:43 EST 2008


Author: vmolotkov
Date: 2008-02-28 14:03:43 -0500 (Thu, 28 Feb 2008)
New Revision: 6435

Modified:
   trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
Log:
navigation by tab

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-28 17:55:29 UTC (rev 6434)
+++ trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js	2008-02-28 19:03:43 UTC (rev 6435)
@@ -18,7 +18,7 @@
 	
 	switchingStatesHandler : function($super, e) {
 		var el = (e.srcElement) ? e.srcElement : e.target;
-		if (el.id == this.inplaceInput.id) {
+		if ((el.id == this.inplaceInput.id) || (e.type == "focus")) {
 			$super(e);
 		} else {
 			this.tempValueKeeper.focus();




More information about the richfaces-svn-commits mailing list