You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2013/06/14 11:27:20 UTC

[jira] [Commented] (WICKET-5229) use jquery "focusin"/"focusout" for ajax focus tracking

    [ https://issues.apache.org/jira/browse/WICKET-5229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683237#comment-13683237 ] 

Martin Grigorov commented on WICKET-5229:
-----------------------------------------

The new code binds on 'window' element, i.e. uses event delegation.
The code in 6.x binds directly on input, select, textarea, button and 'a' elements.

I think the new code will break if attributes.setEventPropagation(STOP) is used somewhere in the hierarchy. 
                
> use jquery "focusin"/"focusout" for ajax focus tracking
> -------------------------------------------------------
>
>                 Key: WICKET-5229
>                 URL: https://issues.apache.org/jira/browse/WICKET-5229
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 7.0.0
>            Reporter: Sven Meier
>            Assignee: Sven Meier
>             Fix For: 7.0.0
>
>
> Focus tracking in wicket-ajax-jquery.js can be simplified with jQuery bubbling "focusin"/"focusout".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira