Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5010

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.5.0
    • 6.6.0
    • wicket
    • 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.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: