Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
1.3.5, 1.4-RC1
-
None
-
None
Description
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==""))
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)
Attachments
Issue Links
- duplicates
-
WICKET-2032 CLONE -Wicket-autocomplete.js does not invoke invokePostCallHandlers() when input string is 0 lenght or null
- Resolved