Bug Tracker

Modify

Ticket #2027 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

appendTo/replaceAll/etc. needs to control event cloning

Reported by: john Owned by:
Priority: major Milestone: 1.2.2
Component: core Version: 1.2.1
Keywords: Cc:
Blocking: Blocked by:

Description

Currently if you do appendTo/replaceAll etc. elements will most likely get cloned when they're added to the DOM - however, there's no way to specify if events should be cloned on the original element (like it's specified on the .clone() method). Additionally, .domManip() doesn't use the clone method, it should do that as well.

At first I thought #2026 was the right solution to this problem - but this is the right one.

Change History

comment:1 Changed 6 years ago by brandon

I believe this is a related ticket: #1736

comment:2 Changed 6 years ago by john

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in SVN rev [4251].

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.