зеркало из https://github.com/mozilla/pjs.git
disable sending unsent messages while sending unsent messages r=ducarroz, sr=sspitzer
This commit is contained in:
Родитель
56246136f5
Коммит
a6256addad
|
@ -760,6 +760,9 @@ function SetupCommandUpdateHandlers()
|
|||
function IsSendUnsentMsgsEnabled(folderResource)
|
||||
{
|
||||
var identity;
|
||||
|
||||
if (messenger.sendingUnsentMsgs) // if we're currently sending unsent msgs, disable this cmd.
|
||||
return false;
|
||||
try {
|
||||
if (folderResource) {
|
||||
// if folderResource is non-null, it is
|
||||
|
|
Загрузка…
Ссылка в новой задаче