Bug 719413 - Update paste command validity. r=irving
authorAndy Civil <andycivil@hotmail.com>
Sat, 16 Jun 2012 10:05:29 -0400
changeset 10445 72bbbfe69e633242ca177b3e67fed1eb3b7aafb1
parent 10444 8e5938f850f9ceab2d13db0a374dea7885c5c6af
child 10446 ce1107df35eb26c5faec0421fb46a4a584889a50
push id7901
push userryanvm@gmail.com
push dateSat, 16 Jun 2012 14:05:32 +0000
treeherdercomm-central@72bbbfe69e63 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersirving
bugs719413
Bug 719413 - Update paste command validity. r=irving
mail/components/compose/content/MsgComposeCommands.js
--- a/mail/components/compose/content/MsgComposeCommands.js
+++ b/mail/components/compose/content/MsgComposeCommands.js
@@ -861,16 +861,17 @@ function openEditorContextMenu(popup)
   let dictSep = document.getElementById("spellCheckLanguageSeparator");
   gSpellChecker.addDictionaryListToMenu(dictMenu, dictSep);
 
   updateEditItems();
 }
 
 function updateEditItems()
 {
+  goUpdateCommand("cmd_paste");
   goUpdateCommand("cmd_pasteNoFormatting");
   goUpdateCommand("cmd_pasteQuote");
   goUpdateCommand("cmd_delete");
   goUpdateCommand("cmd_renameAttachment");
   goUpdateCommand("cmd_selectAll");
   goUpdateCommand("cmd_openAttachment");
   goUpdateCommand("cmd_find");
   goUpdateCommand("cmd_findNext");