зеркало из https://github.com/mozilla/pjs.git
Bug 372706 ctrl+w and file|close stop working after saving message with error gMsgCompose.getExternalSendListener is not a function (Bv2-TB) p=Serge Gautherie <sgautherie.bz@free.fr>,r/sr=mscott
This commit is contained in:
Родитель
d5e7d50820
Коммит
00df9964c8
|
@ -308,13 +308,7 @@ var stateListener = {
|
|||
{
|
||||
// Notify the SendListener that Send has been aborted and Stopped
|
||||
if (gMsgCompose)
|
||||
{
|
||||
var externalListener = gMsgCompose.getExternalSendListener();
|
||||
if (externalListener)
|
||||
{
|
||||
externalListener.onSendNotPerformed(null, Components.results.NS_ERROR_ABORT);
|
||||
}
|
||||
}
|
||||
gMsgCompose.onSendNotPerformed(null, Components.results.NS_ERROR_ABORT);
|
||||
MsgComposeCloseWindow(true);
|
||||
}
|
||||
}
|
||||
|
@ -1089,13 +1083,7 @@ function DoCommandClose()
|
|||
|
||||
// Notify the SendListener that Send has been aborted and Stopped
|
||||
if (gMsgCompose)
|
||||
{
|
||||
var externalListener = gMsgCompose.getExternalSendListener();
|
||||
if (externalListener)
|
||||
{
|
||||
externalListener.onSendNotPerformed(null, Components.results.NS_ERROR_ABORT);
|
||||
}
|
||||
}
|
||||
gMsgCompose.onSendNotPerformed(null, Components.results.NS_ERROR_ABORT);
|
||||
|
||||
MsgComposeCloseWindow(true);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче