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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: 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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: