Author: dmorozov
Date: 2008-11-27 05:53:38 -0500 (Thu, 27 Nov 2008)
New Revision: 11408
Modified:
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
Log:
https://jira.jboss.org/jira/browse/RF-4866 new rev
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 2008-11-27
10:52:57 UTC (rev 11407)
+++
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2008-11-27
10:53:38 UTC (rev 11408)
@@ -300,12 +300,8 @@
return;
}
- var value = this.comboList.activeItem.innerText;
- if(!value) {
- value = this.comboList.activeItem.textContent.strip();
- }
-
- // var value = this.comboList.activeItem.innerHTML.unescapeHTML();
+ var value = this.comboList.activeItem.childNodes[0].nodeValue;
+
if (toSetOnly) {
var oV = this.field.value;
if (oV == value) {