mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 03:24:26 +00:00
Fix bug 30250. Forget to call CreateTheComposeWindow when processing a template message with a body defined. R=jefft,rhp A=phil
This commit is contained in:
parent
c37c55d770
commit
73779b037b
@ -1322,7 +1322,10 @@ mime_parse_stream_complete (nsMIMESession *stream)
|
||||
//
|
||||
if (mdd->format_out == nsMimeOutput::nsMimeMessageEditorTemplate)
|
||||
{
|
||||
printf("RICHIE: Time to create the EDITOR with this template - HAS a body!!!!\n");
|
||||
#ifdef NS_DEBUG
|
||||
printf("RICHIE: Time to create the EDITOR with this template - HAS a body!!!!\n");
|
||||
#endif
|
||||
CreateTheComposeWindow(fields, newAttachData, nsIMsgCompType::Template, composeFormat, mdd->identity);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -1346,7 +1349,9 @@ mime_parse_stream_complete (nsMIMESession *stream)
|
||||
//
|
||||
if (mdd->format_out == nsMimeOutput::nsMimeMessageEditorTemplate)
|
||||
{
|
||||
#ifdef NS_DEBUG
|
||||
printf("RICHIE: Time to create the EDITOR with this template - NO body!!!!\n");
|
||||
#endif
|
||||
CreateTheComposeWindow(fields, newAttachData, nsIMsgCompType::Template, nsIMsgCompFormat::Default, mdd->identity);
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user