Bug Tracker

Modify

Ticket #8894 (closed bug: fixed)

Opened 3 years ago

Last modified 2 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:

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

comment:1 Changed 3 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 3 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 2 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 2 years ago by Oleg

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

Changeset: abd2a07498afa48a4ec3ce0471b9b0b4fc812b55

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.