зеркало из https://github.com/mozilla/pjs.git
fix for bug #245520
only auto-remember "html" in ab for "send format", not "plain" r/sr=mscott
This commit is contained in:
Родитель
9c694e01db
Коммит
76e10da908
|
@ -3418,7 +3418,17 @@ nsMsgComposeAndSend::DeliverFileAsMail()
|
|||
// see GenericSendMessage() in MsgComposeCommands.js for the reverse logic
|
||||
// if we choose to send both (html and plain) remember html.
|
||||
if (forcePlainText && !useMultipartAlternative)
|
||||
sendFormat = nsIAbPreferMailFormat::plaintext;
|
||||
{
|
||||
// for now, don't remember the "plaintext" decision.
|
||||
// we could get in here because while sending html mail
|
||||
// the body was "convertible", but that doesn't mean
|
||||
// we intended to force plain text here.
|
||||
// so for now, use "unknown" which will have no effect on the
|
||||
// prefers html attribute in the ab.
|
||||
// see bug #245520 for more details
|
||||
// sendFormat = nsIAbPreferMailFormat::plaintext;
|
||||
sendFormat = nsIAbPreferMailFormat::unknown;
|
||||
}
|
||||
else if (!forcePlainText)
|
||||
sendFormat = nsIAbPreferMailFormat::html;
|
||||
else
|
||||
|
|
|
@ -268,7 +268,7 @@ nsURLFetcher::OnStartRequest(nsIRequest *request, nsISupports *ctxt)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult
|
||||
NS_IMETHODIMP
|
||||
nsURLFetcher::OnStopRequest(nsIRequest *request, nsISupports * ctxt, nsresult aStatus)
|
||||
{
|
||||
#if defined(DEBUG_ducarroz)
|
||||
|
|
Загрузка…
Ссылка в новой задаче