Skip to main content

Search and Top Navigation

#3664 closed bug (fixed)

Opened December 13, 2008 10:54AM UTC

Closed December 13, 2008 03:15PM UTC

Last modified December 13, 2008 03:25PM UTC

Dialog init fails on disconnected DOM Element after .remove()

Reported by: rdworth Owned by: rdworth
Priority: blocker Milestone: 1.7
Component: ui.dialog Version: 1.6rc2
Keywords: Cc:
Blocked by: Blocking:
Description

The following works

$('<div></div>').dialog()

The following fails

$('<div></div>').appendTo('body').remove().dialog()

with an exception "this.parentNode is null"

Attachments (0)
Change History (2)

Changed December 13, 2008 03:15PM UTC by scottgonzalez comment:1

resolution: → fixed
status: newclosed

Fixed in r1151.

Changed December 13, 2008 03:25PM UTC by scottgonzalez comment:2

See related ticket in core's Trac for the cause of the problem.