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/01/28 15:19:12 UTC

[jira] [Resolved] (WICKET-5010) Improve wicket-ajax.js to be able to work with jQuery 1.9+

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

Martin Grigorov resolved WICKET-5010.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.6.0

wicket-ajax.js is improved to be able to work with 1.9.

With this ticket the version of jquery.js that Wicket provides is not changed to 1.9.0!
We will wait for 1.9.(2|3) (i.e. a better tested version) before upgrading.
This will give the applications time to upgrade their custom code and jQuery plugins to be able to work with 1.9+ as well.
                
> Improve wicket-ajax.js to be able to work with jQuery 1.9+
> ----------------------------------------------------------
>
>                 Key: WICKET-5010
>                 URL: https://issues.apache.org/jira/browse/WICKET-5010
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 6.5.0
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 6.6.0
>
>
> jQuery 1.9 is stricter than previous versions and our JS unit tests do not work with 1.9.0.
> The main problem is in Wicket.DOM.replace().
> If the new text to append contains new line characters or there is a space before the leading '<' character then jQuery does not create a new document fragment.

--
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