Changes between Initial Version and Version 1 of Ticket #8662, comment 1
- Timestamp:
- Oct 12, 2012, 10:17:42 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #8662, comment 1
initial v1 1 I can confirm this. The code is jumping back and forth between the event cleanup code in remove in core and this block in the _destroy method in jquery.ui.resizable.js:1 I can confirm this. When this situation occurs the code attempts to remove the wrapper on line 215 (https://github.com/jquery/jquery-ui/blob/master/ui/jquery.ui.resizable.js#L215). This will end up re-invoking the outer _destroy method (https://github.com/jquery/jquery-ui/blob/master/ui/jquery.ui.resizable.js#L194) which will again try to remove the wrapper... causing the loop. 2 2 3 {{{4 $(exp).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing")5 .removeData("resizable").removeData("ui-resizable").unbind(".resizable").find('.ui-resizable-handle').remove();6 }}}