Skip to main content

Search and Top Navigation

#8613 closed bug (fixed)

Opened October 01, 2012 03:29PM UTC

Closed October 01, 2012 07:35PM UTC

Last modified October 01, 2012 07:35PM UTC

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).

Attachments (0)
Change History (2)

Changed October 01, 2012 07:35PM UTC by Scott González comment:1

resolution: → fixed
status: newclosed

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.

Changeset: 4ab4684cfc36f8afe8782eb0501b51c420d478ae

Changed October 01, 2012 07:35PM UTC by scottgonzalez comment:2

milestone: 1.9.0git