Make option text show up when option changes. bug 136885, r=rods@netscape.com, sr=attinasi@netscape.com

git-svn-id: svn://10.0.0.236/trunk@121666 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jkeiser%netscape.com
2002-05-16 19:27:13 +00:00
parent 517c23e256
commit 2f9a0e53c7

View File

@@ -568,6 +568,9 @@ nsHTMLOptionElement::SetText(const nsAString& aText)
result = domText->SetData(aText);
if (NS_SUCCEEDED(result)) {
// If we used an existing node, the notification will not happen (the
// notification typically happens in AppendChildTo).
NotifyTextChanged();
usedExistingTextNode = PR_TRUE;
}