Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resizable: Use .insertAfter() instead of .after() to avoid recursivel…
…y destroying. Fixes #8662 - Infinite loop - new to jQuery UI 1.9.0.
- Loading branch information
1 parent
bd3a348
commit 025266e
Showing
1 changed file
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
025266e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just can't repro this when the two elements are connected. I see a bug for
.after()
with disconnected nodes but it shouldn't come into play with this code. Do you have a test case?025266e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check the ticket for a link to the fiddle. The destroy is being auto-triggered by a call to
.remove()
, so it's likely that the elements are already disconnected.