/trunk/src/org/tela_botanica/client/AutoCompleteAsyncTextBox.java |
---|
315,10 → 315,15 |
// add selected item to textbox |
protected void complete() |
{ |
if(choices.getItemCount() > 0) |
{ |
this.setText(choices.getItemText(choices.getSelectedIndex())); |
currentValue=choices.getValue(choices.getSelectedIndex()); |
if (autoCompleteAsyncTextBoxListeners!= null) { |
autoCompleteAsyncTextBoxListeners.fireTextBoxComplete(responseTextHandler,this.getText(),currentValue); |
} |
} |
visible=false; |
353,7 → 358,6 |
this.currentValue=value; |
} |
} |