Opened 10 years ago
Closed 10 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 )
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 10 years ago by
Description: | modified (diff) |
---|---|
Status: | new → open |
comment:2 Changed 10 years ago by
comment:3 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | open → closed |
Widget: Destroy only when element is the actual target. Fixes #8652 - Widget: Destroy only when element is the actual target.
Changeset: 8bb05d23e2c49ecbe2f83a3552efb0a93c48bb85
Fix here: https://github.com/jquery/jquery-ui/pull/736