Bug 1349021 - CC addresses configured in account not working due to typo in MsgComposeCommands.js. r+a=jorgk a=jorgk DONTBUILD SEA248b1_2017021701_RELBRANCH SEAMONKEY_2_48b1_BUILD4 SEAMONKEY_2_48b1_BUILD5 SEAMONKEY_2_48b1_BUILD6
authoraceman <acelists@atlas.sk>
Mon, 20 Mar 2017 16:28:00 +0100
branchSEA248b1_2017021701_RELBRANCH
changeset 27469 c87de3b24c53be8e5d2a5782dddcca34da068d6b
parent 27459 3cff80d01dae825e4a4a8100c8195c7913cbc4e9
child 27470 0862a1647b9ba89db5c4c7e56fe3736d8bd81531
push idunknown
push userunknown
push dateunknown
reviewersjorgk
bugs1349021
Bug 1349021 - CC addresses configured in account not working due to typo in MsgComposeCommands.js. r+a=jorgk a=jorgk DONTBUILD
mail/components/compose/content/MsgComposeCommands.js
suite/mailnews/compose/MsgComposeCommands.js
--- a/mail/components/compose/content/MsgComposeCommands.js
+++ b/mail/components/compose/content/MsgComposeCommands.js
@@ -4358,17 +4358,17 @@ function LoadIdentity(startup)
           if (newCc != prevCc)
           {
             needToCleanUp = true;
             if (prevCc)
               awRemoveRecipients(msgCompFields, "addr_cc", prevCc);
             if (newCc) {
               // Ensure none of the Ccs are already in To.
               let cc2 = msgCompFields.splitRecipients(newCc, true, {});
-              newCC = cc2.filter(x => !toAddrs.has(x)).join(", ");
+              newCc = cc2.filter(x => !toAddrs.has(x)).join(", ");
               awAddRecipients(msgCompFields, "addr_cc", newCc);
             }
           }
 
           if (newBcc != prevBcc)
           {
             needToCleanUp = true;
             if (prevBcc)
--- a/suite/mailnews/compose/MsgComposeCommands.js
+++ b/suite/mailnews/compose/MsgComposeCommands.js
@@ -2635,17 +2635,17 @@ function LoadIdentity(startup)
           if (newCc != prevCc)
           {
             needToCleanUp = true;
             if (prevCc)
               awRemoveRecipients(msgCompFields, "addr_cc", prevCc);
             if (newCc) {
               // Ensure none of the Ccs are already in To.
               let cc2 = msgCompFields.splitRecipients(newCc, true, {});
-              newCC = cc2.filter(x => !toAddrs.has(x)).join(", ");
+              newCc = cc2.filter(x => !toAddrs.has(x)).join(", ");
               awAddRecipients(msgCompFields, "addr_cc", newCc);
             }
           }
 
           if (newBcc != prevBcc)
           {
             needToCleanUp = true;
             if (prevBcc)