Bug 709819 - Clear entries from the dictionary list menu. r=Neil
authorEdmund Wong <ewong@pw-wspx.org>
Tue, 27 Mar 2012 09:30:26 +0800
changeset 9751 ea76d70a8e568cb69af8bf5ed2ae269345659c7f
parent 9750 46bed17a19a95b29be43b85199d02f16f4315492
child 9752 db1bae7de811e97c33d05a2e9c89b50b35ab56c4
push id7446
push userewong@pw-wspx.org
push dateTue, 27 Mar 2012 01:53:25 +0000
treeherdercomm-central@ea76d70a8e56 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersNeil
bugs709819
Bug 709819 - Clear entries from the dictionary list menu. r=Neil
suite/mailnews/compose/MsgComposeCommands.js
--- a/suite/mailnews/compose/MsgComposeCommands.js
+++ b/suite/mailnews/compose/MsgComposeCommands.js
@@ -230,16 +230,17 @@ var gComposeRecyclingListener = {
     if (getMailToolbox().customizing && gCustomizeSheet)
       document.getElementById("customizeToolbarSheetIFrame")
               .contentWindow.finishToolbarCustomization();
 
     // Stop InlineSpellCheckerUI so personal dictionary is saved
     EnableInlineSpellCheck(false);
     // clear any suggestions in the context menu
     InlineSpellCheckerUI.clearSuggestionsFromMenu();
+    InlineSpellCheckerUI.clearDictionaryListFromMenu();
 
     //Reset editor
     EditorResetFontAndColorAttributes();
     EditorCleanup();
 
     //Release the nsIMsgComposeParams object
     if (window.arguments && window.arguments[0])
       window.arguments[0] = null;