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:
bugzilla%standard8.demon.co.uk 2007-03-30 08:28:23 +00:00
Родитель d5e7d50820
Коммит 00df9964c8
1 изменённых файлов: 2 добавлений и 14 удалений

Просмотреть файл

@ -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);