jquery/jquery-ui — pull request #736 by marcandre (2012-10-07 06:40:10+00:00)
Title: Widget: Destroy only when element is the actual target

If ever a 'remove' event was not triggered on the actual widget but on a child and is just bubbling up, then nothing should be done.

Use case: I use a 'remove' event (with bubbling) in my app and without this patch it interferes if the element I trigger it on is contained in a jQuery-ui widget.

http://stackoverflow.com/questions/12584732/how-come-sortable-area-freezes-if-a-remove-event-is-triggered