Opened 7 years ago

Closed 7 years ago

#8652 closed bug (fixed)

Widget: Destroy only when element is the actual target

Reported by: marcandre Owned by:
Priority: minor Milestone: 1.9.1
Component: ui.widget Version: 1.9.0
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by petersendidit)

If ever a 'remove' event was not triggered on the actual widget but on a child element 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 Testcase from stackoverflow question: http://jsfiddle.net/yWg8v/7/

Change History (3)

comment:1 Changed 7 years ago by petersendidit

Description: modified (diff)
Status: newopen

comment:3 Changed 7 years ago by Marc-Andre Lafortune

Resolution: fixed
Status: openclosed

Widget: Destroy only when element is the actual target. Fixes #8652 - Widget: Destroy only when element is the actual target.

Changeset: 8bb05d23e2c49ecbe2f83a3552efb0a93c48bb85

Note: See TracTickets for help on using tickets.