Bug #314349 --> Reply/Forward/Edit with .EML or message/rfc822: fails if no Message-Id
git-svn-id: svn://10.0.0.236/trunk@188287 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
8d4b46ee48
commit
06b695d820
@ -255,8 +255,8 @@ function ComposeMessage(type, format, folder, messageArray)
|
||||
identity = getIdentityForServer(server, hintForIdentity);
|
||||
|
||||
var messageID = hdr.messageId;
|
||||
var messageIDScheme = messageID.split(":")[0];
|
||||
if ((messageIDScheme == 'http' || messageIDScheme == 'https') && "openComposeWindowForRSSArticle" in this)
|
||||
var messageIDScheme = messageID ? messageID.split(":")[0] : "";
|
||||
if (messageIDScheme && (messageIDScheme == 'http' || messageIDScheme == 'https') && "openComposeWindowForRSSArticle" in this)
|
||||
openComposeWindowForRSSArticle(messageID, hdr, type);
|
||||
else if (type == msgComposeType.Reply || type == msgComposeType.ReplyAll || type == msgComposeType.ForwardInline ||
|
||||
type == msgComposeType.ReplyToGroup || type == msgComposeType.ReplyToSender ||
|
||||
@ -752,7 +752,7 @@ function JunkSelectedMessages(setAsJunk)
|
||||
// Note that this behaviour should match the one in the back end for marking
|
||||
// as junk via clicking the 'junk' column.
|
||||
|
||||
if (setAsJunk && pref.getBoolPref("mailnews.ui.junk.manualMarkAsJunkMarksRead"))
|
||||
if (setAsJunk && pref.getBoolPref("mailnews.ui.junk.manualMarkAsJunkMarksRead"))
|
||||
MarkSelectedMessagesRead(true);
|
||||
|
||||
gDBView.doCommand(setAsJunk ? nsMsgViewCommandType.junk
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user