mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Bug 716215 - nsHTMLEditor::IsEmptyNodeImpl checks if the parent is a form widget instead of the child. r=Ms2ger; sr=ehsan
This commit is contained in:
parent
15265252aa
commit
1f6ddac8da
@ -4950,7 +4950,7 @@ nsHTMLEditor::IsEmptyNodeImpl( nsIDOMNode *aNode,
|
||||
}
|
||||
}
|
||||
// is it a form widget?
|
||||
else if (nsHTMLEditUtils::IsFormWidget(aNode))
|
||||
else if (nsHTMLEditUtils::IsFormWidget(node))
|
||||
{ // break out if we find we aren't empty
|
||||
*outIsEmptyNode = false;
|
||||
return NS_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user