[ 
https://issues.apache.org/jira/browse/WICKET-5657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sven Meier resolved WICKET-5657.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 6.17.0
                   7.0.0-M3

Existence of markup element is now checked in precondition.

> wicket-autocomplete may fail after preceeding Ajax request
> ----------------------------------------------------------
>
>                 Key: WICKET-5657
>                 URL: https://issues.apache.org/jira/browse/WICKET-5657
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 6.16.0, 7.0.0-M2
>            Reporter: Sven Meier
>            Assignee: Sven Meier
>             Fix For: 7.0.0-M3, 6.17.0
>
>
> The following processing sequence leads to a JavaScript error:
> - form is shown including an autoCompleteTextField
> - user enters criteria and immediately presses enter
> - actualUpdateChoices() is scheduled by the throttler
> - form is submitted via ajax
> - autoCompleteTextField is removed from DOM
> - throttler executes actualUpdateChoices()
> - wicket-autocomplete fails with precondition, since element is no longer in 
> DOM:
>     var elementVal =  Wicket.$(elementId).value;



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to