Author: vmolotkov
Date: 2008-03-17 06:24:14 -0400 (Mon, 17 Mar 2008)
New Revision: 6845
Modified:
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
Log:
http://jira.jboss.com/jira/browse/RF-2257
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-03-17
09:00:06 UTC (rev 6844)
+++
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2008-03-17
10:24:14 UTC (rev 6845)
@@ -227,8 +227,8 @@
dataUpdating : function(event) {
if (Richfaces.ComboBox.SPECIAL_KEYS.indexOf(event.keyCode) == -1) {
- this.comboList.hideWithDelay();
if (this.filterNewValue) {
+ this.comboList.hideWithDelay();
this.comboList.dataFilter(this.field.value);
if (this.comboList.getItems() && this.comboList.getItems().length != 0) {
var isSearchSuccessful = true;
@@ -242,6 +242,7 @@
if (item) {
this.comboList.doActiveItem(item);
this.comboList.scrollingUpToItem(this.comboList.activeItem);
+ isSearchSuccessful = true;
}
}