Attempt to fix a shutdown crash; don't refresh when we're removed from the document.
git-svn-id: svn://10.0.0.236/trunk@165081 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
74f778e521
commit
53ec84bc9f
@ -234,7 +234,9 @@ nsXFormsInputElement::ParentChanged(nsIDOMElement *aNewParent)
|
||||
{
|
||||
// We need to re-evaluate our instance data binding when our parent
|
||||
// changes, since xmlns declarations in effect could have changed.
|
||||
Refresh();
|
||||
if (aNewParent)
|
||||
Refresh();
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user