Bug 505672 "Send unsent messages" command doesn't work. r/sr=Neil
This commit is contained in:
Родитель
01bff412c9
Коммит
3e3c617432
|
@ -829,12 +829,12 @@ function UnloadCommandUpdateHandlers()
|
|||
|
||||
function IsSendUnsentMsgsEnabled(folderResource)
|
||||
{
|
||||
var msgSendlater =
|
||||
var msgSendLater =
|
||||
Components.classes["@mozilla.org/messengercompose/sendlater;1"]
|
||||
.getService(Components.interfaces.nsIMsgSendLater);
|
||||
|
||||
// If we're currently sending unsent msgs, disable this cmd.
|
||||
if (msgSendlater.sendingMessages)
|
||||
if (msgSendLater.sendingMessages)
|
||||
return false;
|
||||
|
||||
if (folderResource &&
|
||||
|
|
Загрузка…
Ссылка в новой задаче