Skip to content

Draggable: Don't run stop methods for elements that have been removed. ...#639

Closed
tjvantoll wants to merge 1 commit intojquery:masterfrom
tjvantoll:bug_8269
Closed

Draggable: Don't run stop methods for elements that have been removed. ...#639
tjvantoll wants to merge 1 commit intojquery:masterfrom
tjvantoll:bug_8269

Conversation

@tjvantoll
Copy link
Member

...Fixed #8269 (http://bugs.jqueryui.com/ticket/8269)

I tried to come up with a way to unit test this but I couldn't get anything to work (it's dependent on a draggable being dropped on a droppable). Anyways, this fixes the test case in the bug and doesn't appear to have any adverse effects on the demos.

@scottgonzalez
Copy link
Member

Thanks, landed in 27d1023.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should a break; be added?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's nowhere else to go. The only extra overhead is checking if element.parentNode exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants