Skip to main content

Bug Tracker

Side navigation

#7084 closed bug (duplicate)

Opened September 26, 2010 09:02AM UTC

Closed September 27, 2010 12:14AM UTC

Last modified March 15, 2012 12:23PM UTC

conflict between Array object and cloning events

Reported by: emile.g Owned by:
Priority: undecided Milestone: 1.4.3
Component: unfiled Version: 1.4.2
Keywords: clone, event Cc:
Blocked by: Blocking:
Description

If the Array object has been added new methods, the clone(true) method will cause strange behaviour on the cloned element :

  • bind events to an element
  • clone the element with its events : $().clone(true)
  • trigger any event of the new cloned element

> Array added methods are executed

Exemple on jsbin :

http://jsbin.com/urite/2

Attachments (0)
Change History (1)

Changed September 27, 2010 12:14AM UTC by dmethvin comment:1

resolution: → duplicate
status: newclosed

Duplicate of #6355.