Bug 820377 Port bug 819940 remove EnumerateForwards/Backwards on nsISupportsArray r=Neil.
Missed one mgr.accounts.Count() in /suite/mailnews/mail3PaneWindowCommands.js.
This commit is contained in:
Родитель
c54bf6c0a1
Коммит
ae6d674f97
|
@ -340,7 +340,7 @@ var DefaultController =
|
|||
case "cmd_displayMsgFilters":
|
||||
let mgr = Components.classes["@mozilla.org/messenger/account-manager;1"]
|
||||
.getService(Components.interfaces.nsIMsgAccountManager);
|
||||
return mgr.accounts.Count() > 0;
|
||||
return mgr.accounts.length > 0;
|
||||
case "cmd_applyFilters":
|
||||
if (gDBView)
|
||||
gDBView.getCommandStatus(nsMsgViewCommandType.applyFilters, enabled, checkStatus);
|
||||
|
|
Загрузка…
Ссылка в новой задаче