Bug Tracker

Ticket #8894 (closed bug: fixed)

Opened 5 years ago

Last modified 4 years ago

appendTo() and alike methods called after clone() returns incorrect jQuery set in IE

Reported by: gravof Owned by:
Priority: high Milestone: 1.8
Component: manipulation Version: 1.5.2
Keywords: Cc:
Blocking: Blocked by:


IE6+ (haven't tested IE9) don't introduce a new jQuery set after calling clone() and then appendTo().

However, if the target been appended to has more than two elements, this issue doesn't exist.

Please see  http://jsfiddle.net/gravof/XsYeV/

Change History

comment:1 Changed 5 years ago by john

  • Priority changed from undecided to high
  • Status changed from new to open
  • Component changed from unfiled to manipulation

comment:2 Changed 4 years ago by john

Huh - I wonder if this has to do with document fragments or some such... hmm. Confirmed in bug triage.

comment:4 Changed 4 years ago by dmethvin

  • Status changed from open to closed
  • Resolution set to fixed
  • Milestone changed from 1.next to 1.8

comment:5 Changed 4 years ago by Oleg

Fix #8894. Ensure .appendTo creates a new set in oldIE.

Changeset: abd2a07498afa48a4ec3ce0471b9b0b4fc812b55

Note: See TracTickets for help on using tickets.