[richfaces-svn-commits] JBoss Rich Faces SVN: r6276 - 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 21 13:40:20 EST 2008


Author: vmolotkov
Date: 2008-02-21 13:40:20 -0500 (Thu, 21 Feb 2008)
New Revision: 6276

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/inplaceselectlist.js
Log:
component's corrected

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-21 18:34:38 UTC (rev 6275)
+++ trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js	2008-02-21 18:40:20 UTC (rev 6276)
@@ -27,7 +27,7 @@
 	
 	listClickHandler : function(event) {
 		this.tempValueKeeper.focus();
-		this.inputProcessing();
+		//this.inputProcessing();
 		this.comboList.hideWithDelay();
 	},
 	
@@ -79,7 +79,9 @@
 			this.tempValueKeeper.value = userValue;
 			this.comboList.selectedItem = this.comboList.activeItem;
 		}
-		$super();
+		if (!this.comboList.isList || this.clickOnBar) {
+			$super();
+		}
 	},
 	
 	deleteViewArtifacts : function () {

Modified: trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselectlist.js
===================================================================
--- trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselectlist.js	2008-02-21 18:34:38 UTC (rev 6275)
+++ trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselectlist.js	2008-02-21 18:40:20 UTC (rev 6276)
@@ -43,7 +43,7 @@
 		//this.listParent.childNodes[1].firstChild.replaceChild(tempList, this.list);
 		//this.list = $(tempList.id);
 		this.activeItem = null;
-		this.isList = false;
+		//this.isList = false;
 	},
 	
 	getEventItem : function(event) {




More information about the richfaces-svn-commits mailing list