[richfaces-svn-commits] JBoss Rich Faces SVN: r14285 - 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 12:20:55 EDT 2009


Author: abelevich
Date: 2009-05-22 12:20:55 -0400 (Fri, 22 May 2009)
New Revision: 14285

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 15:17:51 UTC (rev 14284)
+++ branches/community/3.3.X/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js	2009-05-22 16:20:55 UTC (rev 14285)
@@ -370,8 +370,8 @@
 		}
 
 		var value = jQuery(this.comboList.activeItem).text();
-		
-		if(this.comboValue.value != value) {
+			
+		if((this.comboValue.value && (this.comboValue.value != value)) {
 			Richfaces.invokeEvent(this.onchange, this.combobox, "onchange", {value:value});
 		}	
 




More information about the richfaces-svn-commits mailing list