From 3e3c6174325b1080c6a2052c4a92461142887f36 Mon Sep 17 00:00:00 2001 From: Mark Banner Date: Tue, 4 Aug 2009 16:01:27 +0100 Subject: [PATCH] Bug 505672 "Send unsent messages" command doesn't work. r/sr=Neil --- suite/mailnews/mail3PaneWindowCommands.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/suite/mailnews/mail3PaneWindowCommands.js b/suite/mailnews/mail3PaneWindowCommands.js index c9562ebd64..0ebf60001b 100644 --- a/suite/mailnews/mail3PaneWindowCommands.js +++ b/suite/mailnews/mail3PaneWindowCommands.js @@ -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 &&