[richfaces-svn-commits] JBoss Rich Faces SVN: r6359 - 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 14:10:45 EST 2008


Author: vmolotkov
Date: 2008-02-26 14:10:45 -0500 (Tue, 26 Feb 2008)
New Revision: 6359

Modified:
   trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
Log:
latest changes

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 19:08:23 UTC (rev 6358)
+++ trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js	2008-02-26 19:10:45 UTC (rev 6359)
@@ -9,7 +9,7 @@
 	initHandlers : function($super) {
 		$super();
 		this.tempValueKeeper.observe("click", function(e){this.tempKeeperClickHandler(e);}.bindAsEventListener(this));
-		this.tempValueKeeper.observe("keydown", function(e){this.tmpValueKeyDownHandler(e);}.bindAsEventListener(this));
+		this.tempValueKeeper.observe("keydown", function(e){this.tmpValueKeyDownHandlerIn(e);}.bindAsEventListener(this));
 		
 		this.comboList.listParent.observe("mousedown", function(e){this.listMousedownHandler(e);}.bindAsEventListener(this));
 		this.comboList.listParent.observe("mousemove", function(e){this.listMouseMoveHandler(e)}.bindAsEventListener(this));
@@ -69,7 +69,7 @@
 		}
 	},
 	
-	tmpValueKeyDownHandler : function(event) {
+	tmpValueKeyDownHandlerIn : function(event) {
 		switch (event.keyCode) {
 			case Event.KEY_RETURN : 
 				this.inputProcessing();
@@ -78,9 +78,11 @@
 				break;
 			case Event.KEY_DOWN : 
 				this.comboList.moveActiveItem(event);
+				Event.stop(event);
 				break;
 			case Event.KEY_UP :
 				this.comboList.moveActiveItem(event);
+				Event.stop(event);
 				break; 
 			case Event.KEY_ESC : 
 				this.comboList.hideWithDelay();




More information about the richfaces-svn-commits mailing list