#8613 closed bug (fixed)
Destroying a dialog removes the original element from the DOM
Reported by: | civilu | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | git |
Component: | ui.dialog | Version: | 1.9.0-rc.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Test case: http://jsfiddle.net/DYeUN/
If the element from which the dialog is created is the last child of body, destroying the dialog also removes this element.
Creating the dialog from an element on any other position makes destroy work as expected (the original element is left in the DOM at its initial position).
Change History (2)
comment:1 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 10 years ago by
Milestone: | 1.9.0 → git |
---|
Note: See
TracTickets for help on using
tickets.
Dialog: Don't try to place the dialog next to itself on destroy. Fixes #8613 - Destroying a dialog removes the original element from the DOM.