Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#3664 closed bug (fixed)

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"

Change History (2)

comment:1 Changed 14 years ago by Scott González

Resolution: fixed
Status: newclosed

Fixed in r1151.

comment:2 Changed 14 years ago by Scott González

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

Note: See TracTickets for help on using tickets.