Forcing multiplebandbox search notification when clearing the bandbox

FEA: ItEr77S15FilteringEnhancements
This commit is contained in:
Lorenzo Tilve Álvaro 2013-01-31 20:06:03 +01:00
parent 235f6de48c
commit ef42d9b954

View file

@ -131,6 +131,8 @@ public class BandboxMultipleSearch extends HtmlMacroComponent {
final String inputText = ((InputEvent) event).getValue();
if ((inputText == null) || (inputText.isEmpty())) {
clear();
listbox.setSelectedIndex(0);
Events.postEvent(Events.ON_CHANGE, listbox, null);
} else {
searchMultipleFilters(inputText);
}