From c2ca94bac823ba6ca337c6bb04aef888c9f111b5 Mon Sep 17 00:00:00 2001 From: "neil%parkwaycc.co.uk" Date: Wed, 14 Feb 2007 21:48:31 +0000 Subject: [PATCH] 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 --- mozilla/editor/ui/dialogs/content/EdSpellCheck.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/mozilla/editor/ui/dialogs/content/EdSpellCheck.js b/mozilla/editor/ui/dialogs/content/EdSpellCheck.js index e9404f24ddd..e8a0452be95 100644 --- a/mozilla/editor/ui/dialogs/content/EdSpellCheck.js +++ b/mozilla/editor/ui/dialogs/content/EdSpellCheck.js @@ -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 {