Wicket
  1. Wicket
  2. WICKET-5010

Improve wicket-ajax.js to be able to work with jQuery 1.9+

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 6.5.0
    • Fix Version/s: 6.6.0
    • Component/s: wicket
    • Labels:
      None

      Description

      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 a space before the leading '<' character then jQuery does not create a new document fragment.

        Activity

        Hide
        Martin Grigorov added a comment -

        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.

        Show
        Martin Grigorov added a comment - 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.

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            Martin Grigorov
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development