diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/manipulation.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/manipulation.js b/src/manipulation.js index e3a7f6b12..52a869dae 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -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 ) { |