mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-18 06:45:33 +00:00
Bug #266674 --> fix typo from my previous checkin that caused compact folder to disappear from the folder pane.
This commit is contained in:
parent
4f05ce3a62
commit
50b4426136
@ -369,8 +369,8 @@ function SetupCompactMenuItem(folderResource, numSelected)
|
||||
var folderTree = GetFolderTree();
|
||||
var canCompact = GetFolderAttribute(folderTree, folderResource, "CanCompact") == "true";
|
||||
var folder = GetMsgFolderFromResource(folderResource);
|
||||
ShowMenuItem("folderPaneContext-compact", (numSelected <=1) && canCompact && (!folder.flags & MSG_FOLDER_FLAG_VIRTUAL));
|
||||
EnableMenuItem("folderPaneContext-compact", folder.isCommandEnabled("cmd_compactFolder") && (!folder.flags & MSG_FOLDER_FLAG_VIRTUAL));
|
||||
ShowMenuItem("folderPaneContext-compact", (numSelected <=1) && canCompact && !(folder.flags & MSG_FOLDER_FLAG_VIRTUAL));
|
||||
EnableMenuItem("folderPaneContext-compact", folder.isCommandEnabled("cmd_compactFolder") && !(folder.flags & MSG_FOLDER_FLAG_VIRTUAL));
|
||||
|
||||
if(canCompact)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user