Fix bug#4146, set guid of wrapped function same as original function
This commit is contained in:
parent
a63bf83abe
commit
5fd23f1385
@ -252,6 +252,9 @@ var ErrorReport = {
|
||||
}
|
||||
};
|
||||
new_func.wrapped = true;
|
||||
//Set guid of wrapped function same as original function, so it can be removed
|
||||
//See bug#4146 (problem with jquery draggable and sortable)
|
||||
new_func.guid = func.guid = func.guid || new_func.guid || jQuery.guid++;
|
||||
return new_func;
|
||||
} else {
|
||||
return func;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user