X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fmanipulation.js;h=cd0732c3cf982286d39e902f603f17cfaca36b65;hb=c5edf982d59977c506fececd504a3dbfd1a398dc;hp=1e4df48c2d18f729f8f5a146ffc9287b62d1f500;hpb=4490f4285cc4cdafba67fee726d3eba4a3d81a0f;p=jquery.git diff --git a/src/manipulation.js b/src/manipulation.js index 1e4df48..cd0732c 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -368,7 +368,7 @@ function cloneCopyEvent( src, dest ) { for ( var type in events ) { for ( var i = 0, l = events[ type ].length; i < l; i++ ) { - jQuery.event.add( dest, type, events[ type ][ i ], events[ type ][ i ].data ); + jQuery.event.add( dest, type + ( events[ type ][ i ].namespace ? "." : "" ) + events[ type ][ i ].namespace, events[ type ][ i ], events[ type ][ i ].data ); } } }