Bug Tracker

Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#8894 closed bug (fixed)

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:
Blocked by: Blocking:

Description

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 (5)

comment:1 Changed 6 years ago by john

Component: unfiledmanipulation
Priority: undecidedhigh
Status: newopen

comment:2 Changed 6 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 5 years ago by dmethvin

Milestone: 1.next1.8
Resolution: fixed
Status: openclosed

comment:5 Changed 5 years ago by Oleg

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

Changeset: abd2a07498afa48a4ec3ce0471b9b0b4fc812b55

Note: See TracTickets for help on using tickets.