Skip to content

Fix #5566, #6997#120

Merged
2 commits merged intojquery:masterfrom
csnover:bug5566
Dec 9, 2010
Merged

Fix #5566, #6997#120
2 commits merged intojquery:masterfrom
csnover:bug5566

Conversation

@csnover
Copy link
Member

@csnover csnover commented Dec 7, 2010

#5566 and #6997 are both facets of the same issue: creating an element with event handlers without attaching it to the page, then calling a domManip function that clones and appends the fragment in multiple places, causes the event handlers to disappear. This patch ensures that event handlers are cloned properly as well.

This pull request also includes a separate commit nuking excess whitespace from manipulation.js, because my text editor kindly did that automatically for me at the same time.

@jeresig
Copy link
Member

jeresig commented Dec 9, 2010

This change caused the serialize tests to fail, backed out.

@csnover
Copy link
Member Author

csnover commented Dec 12, 2010

Fixed the failing tests in IE, which it turns out were flaws in the $.fn.clone implementation for IE that were being exposed by this new heavier use.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 20, 2019
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments