зеркало из https://github.com/mozilla/gecko-dev.git
fix bug 6914
This commit is contained in:
Родитель
5dfa67a311
Коммит
e00895eb36
|
@ -970,7 +970,9 @@ NS_IMETHODIMP nsComposeAppCore::SendMsg(nsAutoString& aAddrTo,
|
||||||
NULL, // nsMsgSendPart *relatedPart,
|
NULL, // nsMsgSendPart *relatedPart,
|
||||||
NULL); // void (*message_delivery_done_callback)(MWContext *context, void *fe_data,
|
NULL); // void (*message_delivery_done_callback)(MWContext *context, void *fe_data,
|
||||||
// int status, const char *error_message))
|
// int status, const char *error_message))
|
||||||
PR_FREEIF(bodyString);
|
// ducarroz: please don't delete bodyString, because GetBody did not create a new string
|
||||||
|
// but just get back the address of the body into the msgCompFields object!
|
||||||
|
// PR_FREEIF(bodyString);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (nsnull != mScriptContext) {
|
if (nsnull != mScriptContext) {
|
||||||
|
|
|
@ -179,8 +179,11 @@ function MessageSent()
|
||||||
{
|
{
|
||||||
// editorAppCore.selectAll();
|
// editorAppCore.selectAll();
|
||||||
// editorAppCore.insertText("");
|
// editorAppCore.insertText("");
|
||||||
editorAppCore.loadUrl("about:blank");
|
|
||||||
|
|
||||||
|
// if (composeAppCore && composeAppCore.useHtml)
|
||||||
|
// editorAppCore.loadUrl("chrome://messengercompose/content/defaultHtmlBody.html");
|
||||||
|
// else
|
||||||
|
// editorAppCore.loadUrl("chrome://messengercompose/content/defaultTextBody.html");
|
||||||
}
|
}
|
||||||
|
|
||||||
window.close(); // <-- doesn't work yet!
|
window.close(); // <-- doesn't work yet!
|
||||||
|
|
Загрузка…
Ссылка в новой задаче