Skip to main content

Bug Tracker

Side navigation

#3828 closed bug (fixed)

Opened January 12, 2009 01:50PM UTC

Closed January 12, 2009 02:07PM UTC

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.

Attachments (0)
Change History (1)

Changed January 12, 2009 02:07PM UTC by john comment:1

resolution: → fixed
status: newclosed

Fixed in SVN rev [6095].