Skip to main content

Bug Tracker

Side navigation

#3217 closed bug (duplicate)

Opened August 03, 2008 09:46PM UTC

Closed January 14, 2009 03:20AM UTC

wrong document context in .clone (in IE)

Reported by: fabiangebert Owned by:
Priority: major Milestone: 1.3
Component: core Version: 1.2.6
Keywords: clone,ie,context Cc:
Blocked by: Blocking:
Description

Instead of

container = this.ownerDocument.createElement("div");
container.appendChild(clone);
return jQuery.clean([container.innerHTML],this.ownerDocument)[0];

It should be

container = this.ownerDocument.createElement("div");
container.appendChild(clone);
return jQuery.clean([container.innerHTML],this.ownerDocument)[0];

in the .clone() function.

If not, the code does not work with frames (invalid argument error).

Attachments (0)
Change History (2)

Changed August 10, 2008 07:45PM UTC by shazam comment:1

Already spotted see ticket #2997

Changed January 14, 2009 03:20AM UTC by dmethvin comment:2

resolution: → duplicate
status: newclosed

Duplicate of #2997