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

        Martin Grigorov made changes -
        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 new line characters or there is a space before the leading '<' character then jQuery does not create a new document fragment.
        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.
        Martin Grigorov made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 6.6.0 [ 12323963 ]
        Resolution Fixed [ 1 ]
        Martin Grigorov created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development