jQuery: The Write Less, Do More JavaScript Library

Ticket #2027 (closed bug: fixed)

Opened 5 months ago

Last modified 5 months ago

appendTo/replaceAll/etc. needs to control event cloning

Reported by: john Assigned to: anonymous
Type: bug Priority: major
Milestone: 1.2.2 Component: core
Version: 1.2.1 Keywords:
Cc: Needs: Review

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.

Attachments

Change History

Changed 5 months ago by brandon

I believe this is a related ticket: #1736

Changed 5 months ago by john

  • status changed from new to closed
  • resolution set to fixed

Fixed in SVN rev [4251].

Note: See TracTickets for help on using tickets.