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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user