Author: nbelaevski
Date: 2009-04-07 14:55:23 -0400 (Tue, 07 Apr 2009)
New Revision: 13418
Modified:
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
Log:
https://jira.jboss.org/jira/browse/RF-6574
Modified:
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
===================================================================
---
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2009-04-07
18:10:09 UTC (rev 13417)
+++
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2009-04-07
18:55:23 UTC (rev 13418)
@@ -367,8 +367,8 @@
if (!this.comboList.activeItem) {
return;
}
-
- var value = this.comboList.activeItem.childNodes[0].nodeValue;
+
+ var value = jQuery(this.comboList.activeItem).text();
if (toSetOnly) {
var oV = this.field.value;