Opened 14 years ago
Closed 14 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.
Note: See
TracTickets for help on using
tickets.
Fixed in SVN rev [6095].