Bug 1254666 - Don't prefill From on 'edit as new'. r=aceman
This commit is contained in:
Родитель
a01bae9588
Коммит
e1bb0bdc95
|
@ -2361,7 +2361,10 @@ function ComposeStartup(aParams)
|
|||
|
||||
identityList.selectedItem =
|
||||
identityList.getElementsByAttribute("identitykey", params.identity.key)[0];
|
||||
if (params.composeFields.from)
|
||||
|
||||
// Here we set the From from the original message, be it a draft or another
|
||||
// message we want to "edit as new". Only do this for drafts.
|
||||
if (gComposeType == nsIMsgCompType.Draft && params.composeFields.from)
|
||||
{
|
||||
let from = MailServices.headerParser.parseEncodedHeader(params.composeFields.from, null).join(", ");
|
||||
if (from != identityList.value)
|
||||
|
|
Загрузка…
Ссылка в новой задаче