AutoCompleteTextField doesn't notify that ajax reqeust returned.
----------------------------------------------------------------
Key: WICKET-2055
URL: https://issues.apache.org/jira/browse/WICKET-2055
Project: Wicket
Issue Type: Bug
Components: wicket-extensions
Affects Versions: 1.4-RC1, 1.3.5
Reporter: Yosi
When AutoCompleteTextField value is empty ( i.eafter writing and deleting
characters) AutoCompleteTextField doesn't call wicketGlobalPostCallHandler()
and doesn't hide ajax indicator.
I found the problem in wicket-autocomplete.js:
function doUpdateChoices(resp){
// check if the input hasn't been cleared in the meanwhile
var input=wicketGet(elementId);
if ((Wicket.Focus.getFocusedElement() != input) ||
!cfg.showListOnEmptyInput && (input.value==null || input.value=="")) {
hideAutoComplete();
return; ***** <- bug here ****
}
if input.value is empty the function returns without calling:
Wicket.Log.info("Response processed successfully.");
Wicket.Ajax.invokePostCallHandlers();
hideIndicator();
(which is found and the end of the function)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.