Remove code for ticket #7717 which has been marked WONTFIX to match existing $.data functionality and to prevent infinite loops caused by circular references.

This commit is contained in:
Colin Snover 2010-12-22 14:43:17 -06:00
parent 2a47ceae5b
commit 445fdf720c
2 changed files with 5 additions and 9 deletions

View file

@ -382,7 +382,7 @@ function cloneCopyEvent(orig, ret) {
}
var oldData = jQuery.data( orig[nodeIndex] ),
curData = jQuery.data( this, jQuery.extend(true, {}, oldData) ),
curData = jQuery.data( this, oldData ),
events = oldData && oldData.events;
if ( events ) {