Ticket #3664 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

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:
Blocking: Blocked by:

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

comment:1 Changed 5 years ago by scott.gonzalez

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r1151.

comment:2 Changed 5 years ago by scott.gonzalez

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

Note: See TracTickets for help on using tickets.