Author: vmolotkov
Date: 2008-07-25 11:50:52 -0400 (Fri, 25 Jul 2008)
New Revision: 9791
Modified:
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
Log:
https://jira.jboss.org/jira/browse/RF-3987
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-07-25
14:36:59 UTC (rev 9790)
+++
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2008-07-25
15:50:52 UTC (rev 9791)
@@ -31,6 +31,7 @@
this.comboList = new Richfaces.ComboBoxList(listId, parentListId, selectFirstOnUpdate,
filterNewValue, classes.COMBO_LIST, listWidth,
listHeight, itemsText, onlistcall, fieldId, shadowId, showDelay,
hideDelay);
this.defaultMessage = defaultMessage;
+ this.classes = classes;
if (value) {
var item = this.comboList.findItemBySubstr(value);
if (item) {
@@ -45,7 +46,6 @@
}
this.onselected = onselected;
this.isSelection = true;
- this.classes = classes;
this.isDisabled = isDisabled;
if (this.onselected) {
this.combobox.observe("rich:onselect", this.onselected);