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: 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:

http://jsfiddle.net/zSd5U/

Attachments (0)
Change History (3)

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

owner: → meyermd10@alumni.uww.edu
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 meyermd10@alumni.uww.edu 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 ;)