[richfaces-svn-commits] JBoss Rich Faces SVN: r14283 - branches/community/3.3.X/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Fri May 22 11:09:26 EDT 2009


Author: abelevich
Date: 2009-05-22 11:09:26 -0400 (Fri, 22 May 2009)
New Revision: 14283

Modified:
   branches/community/3.3.X/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
Log:


Modified: branches/community/3.3.X/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
===================================================================
--- branches/community/3.3.X/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js	2009-05-22 14:52:11 UTC (rev 14282)
+++ branches/community/3.3.X/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js	2009-05-22 15:09:26 UTC (rev 14283)
@@ -371,11 +371,10 @@
 
 		var value = jQuery(this.comboList.activeItem).text();
 		
-		if(this.comboValue && value) {
-			if(this.comboValue.value != value) {
-				Richfaces.invokeEvent(this.onchange, this.combobox, "onchange", {value:value});
-			}	
+		if(this.comboValue.value != value) {
+			Richfaces.invokeEvent(this.onchange, this.combobox, "onchange", {value:value});
 		}	
+
 			
 		if (toSetOnly) {
 			var oV = this.field.value; 




More information about the richfaces-svn-commits mailing list