Bug Tracker

Opened 12 years ago

Closed 12 years ago

#3828 closed bug (fixed)

1.3 Rc1: wrap fails on disconntected element

Reported by: joern Owned by:
Priority: major Milestone: 1.3
Component: core Version: 1.2.6
Keywords: Cc:
Blocked by: Blocking:

Description

Trying to wrap a disconnected element like this:

$("<label/>").wrap("<li/>");

fails with "this.parentNode is null" on line 268.

To workaround, append to the element to the document first.

Change History (1)

comment:1 Changed 12 years ago by john

Resolution: fixed
Status: newclosed

Fixed in SVN rev [6095].

Note: See TracTickets for help on using tickets.