You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Yosi (JIRA)" <ji...@apache.org> on 2009/01/27 15:34:59 UTC
[jira] Created: (WICKET-2055) AutoCompleteTextField doesn't notify
that ajax reqeust returned.
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.
[jira] Resolved: (WICKET-2055) AutoCompleteTextField doesn't notify
that ajax reqeust returned.
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-2055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-2055.
-----------------------------------
Resolution: Duplicate
Assignee: Igor Vaynberg
> 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.3.5, 1.4-RC1
> Reporter: Yosi
> Assignee: Igor Vaynberg
>
> 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.