Skip to main content

Bug Tracker

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: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:

Creating an element and then attempting to attach that element to the document fails in createSafeFragment. In that method, the document parameter is null.


Attachments (0)
Change History (3)

Changed February 09, 2013 12:30AM UTC by rwaldron comment:1

owner: →
status: newpending

Why are you trying to append to the document object? That wouldn't work with plain DOM API either...

Changed February 09, 2013 12:40AM UTC by comment:2

status: pendingnew

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 rwaldron comment:3

resolution: → notabug
status: newclosed

It happens ;)