Opened 12 years ago
Closed 11 years ago
#10393 closed bug (invalid)
Error in method jQuery.buildFragment
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Milestone: | 1.next |
Component: | manipulation | Version: | 1.7b1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
if ( jQuery.support.parentNode && parent && parent.nodeType === 11 && parent.childNodes.length === this.length ) { results = { fragment: parent }; } else { results = jQuery.buildFragment( args, this, scripts ); }
jQuery.support.parentNode is undefined.
$('<div>test</div>').appendTo(document.body);
This code calls method buildFragment twice
Change History (5)
comment:1 Changed 12 years ago by
Component: | unfiled → manipulation |
---|---|
Milestone: | None → 1.next |
Owner: | set to Rick Waldron |
Priority: | undecided → high |
Status: | new → assigned |
Version: | 1.6.4 → 1.7b1 |
comment:2 Changed 12 years ago by
Owner: | changed from Rick Waldron to [email protected]… |
---|---|
Status: | assigned → pending |
comment:3 Changed 12 years ago by
http://jsfiddle.net/aYUfh/1/ I've checked it in Google Chrome and MSIE 8. And i can't find any assign of property jQuery.support.parentNode in jQuery lib.
comment:4 Changed 12 years ago by
The above example illustrates the described error. The method buildFragment is called twice instead of one.
comment:5 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
Is this occurring in a specific browser?
http://jsfiddle.net/rwaldron/aYUfh/