Followup to bug 355064 to make spellcheck dialog update inline spellchecker with selected dictionary again r=IanN sr=mscott

git-svn-id: svn://10.0.0.236/trunk@220138 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
neil%parkwaycc.co.uk
2007-02-14 21:48:31 +00:00
parent f079ceca67
commit c2ca94bac8

View File

@@ -592,10 +592,9 @@ function ExitSpellChecker()
}
// now check the document over again with the new dictionary
// if we have an inline spellchecker
if (("InlineSpellChecker" in window.opener) &&
("inlineSpellChecker" in window.opener.InlineSpellChecker))
if (window.opener.InlineSpellChecker.inlineSpellChecker.enableRealTimeSpell)
window.opener.InlineSpellChecker.checkDocument(window.opener.content.document);
if (("InlineSpellCheckerUI" in window.opener) &&
window.opener.InlineSpellCheckerUI.enabled)
window.opener.InlineSpellCheckerUI.mInlineSpellChecker.spellCheckRange(null);
}
finally
{