Hi!  My name is Kristi Ambrose, and I have 
an article writing and submission service.  Let me write an article for 
you, and allow me to submit it to over 5700+ sites with YOUR link in the author 
signature box!  Just imagine doing it all by yourself, one site at a time, 
times 5700. Not to mention writing each article yourself.Each article will be 
about 400 to 500 words long and it can be on any topic of your choice (except 
illegal & adult topics of course). I will send you a copy of the article 
within two days and should have completed the submission for you within 33 
days.  Please visit my site for more information as well as 
prices.Thanks!Kristi Ambrosehttp://searchenginemarketingpro.org/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Robert Allen Home Business" group.
To post to this group, send email to [email protected]
To unsubscribe froma/browse/WICKET-1827">https://issues.apache.org/jira/browse/WICKET-1827
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.3.4
>         Environment: Ubuntu/Firefox 3.0.1, OS X/Safari 3.1.2, Win XP/IE6, Win 
> XP/IE7
>            Reporter: Jari Aarniala
>
> We have a form with multiple AutoCompleteTextFields in it. If the user enters 
> text in text field A, and moves focus to text field B immediately (within the 
> throttle delay) e.g. using tab, the autocompletion list appears in text field 
> A even though it doesn't have the focus anymore.
> Looking at wicket-autocomplete.js, the fix should be pretty straightforward, 
> i.e. just check whether the input still has focus at the time when the 
> autocompletion list is shown (in doUpdateChoices(resp)). This works for me:
> --- 
> wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/autocomplete/wicket-autocomplete.js
>  (revision 694678)
> +++ 
> wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/autocomplete/wicket-autocomplete.js
>  (working copy)
> @@ -304,9 +304,9 @@
>  
>      function doUpdateChoices(resp){
>      
> -     // check if the input hasn't been cleared in the meanwhile
> +     // check that the input still has focus and hasn't been cleared in the 
> meanwhile
>       var input=wicketGet(elementId);
> -             if (!cfg.showListOnEmptyInput && (input.value==null || 
> input.value=="")) {
> +             if ((Wicket.Focus.getFocusedElement() != input) || 
> (!cfg.showListOnEmptyInput && (input.value==null || input.value==""))) {
>                       hideAutoComplete();
>                       return;
>               }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to