Side navigation
#13422 closed bug (notabug)
Opened February 09, 2013 12:25AM UTC
Closed February 09, 2013 12:42AM UTC
Calling .appendTo() on newly created elements fails
Reported by: | meyermd10@alumni.uww.edu | Owned by: | meyermd10@alumni.uww.edu |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Creating an element and then attempting to attach that element to the document fails in createSafeFragment. In that method, the document parameter is null.
example:
Attachments (0)
Change History (3)
Changed February 09, 2013 12:30AM UTC by comment:1
owner: | → meyermd10@alumni.uww.edu |
---|---|
status: | new → pending |
Changed February 09, 2013 12:40AM UTC by comment:2
status: | pending → new |
---|
Yes, you're right, this is quite silly. The code had been working happily for years, when it broke I just submitted a ticket without thinking too much about it. I've removed the appendTo call and now it works. Sorry.
Changed February 09, 2013 12:42AM UTC by comment:3
resolution: | → notabug |
---|---|
status: | new → closed |
It happens ;)
Why are you trying to append to the
document
object? That wouldn't work with plain DOM API either...