Bug 709819 - Clear entries from the dictionary list menu. r=Neil a=Callek
authorEdmund Wong <ewong@pw-wspx.org>
Tue, 27 Mar 2012 12:51:33 +0800
changeset 10682 1f375f15344be8a6ae35823c1e8ddd336faa0935
parent 10681 431700c61c93e0889bc63b9da557870d9091aced
child 10683 816333b3a46070e8ac8288ec71c9066f80fa7e54
push id424
push userewong@pw-wspx.org
push dateTue, 27 Mar 2012 04:52:14 +0000
treeherdercomm-beta@1f375f15344b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersNeil, Callek
bugs709819
Bug 709819 - Clear entries from the dictionary list menu. r=Neil a=Callek
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;