mirror of
https://github.com/jquery/jquery.git
synced 2026-02-06 17:44:59 -05:00
Fix #10878. Clear oldIE special change/submit flags on a clone.
This commit is contained in:
@@ -461,6 +461,11 @@ function cloneFixAttributes( src, dest ) {
|
||||
// Event data gets referenced instead of copied if the expando
|
||||
// gets copied too
|
||||
dest.removeAttribute( jQuery.expando );
|
||||
|
||||
// Clear flags for bubbling special change/submit events, they must
|
||||
// be reattached when the newly cloned events are first activated
|
||||
dest.removeAttribute( "_submit_attached" );
|
||||
dest.removeAttribute( "_change_attached" );
|
||||
}
|
||||
|
||||
jQuery.buildFragment = function( args, nodes, scripts ) {
|
||||
|
||||
Reference in New Issue
Block a user