Fixing bug 96489. tablerow.insertCell() not returning cell object, patch by Fabian <hidday@geocities.com>, r=peterv@netscape.com, sr=jst@netscape.com, a=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@102130 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
1238729448
commit
cee6d8af23
@ -454,8 +454,6 @@ nsHTMLTableRowElement::InsertCell(PRInt32 aIndex, nsIDOMHTMLElement** aValue)
|
||||
|
||||
cells->Item(refIndex, getter_AddRefs(refCell));
|
||||
|
||||
nsCOMPtr<nsIDOMNode> retChild;
|
||||
|
||||
rv = InsertBefore(cellNode, refCell, getter_AddRefs(retChild));
|
||||
} else {
|
||||
rv = AppendChild(cellNode, getter_AddRefs(retChild));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user