Bug #266674 --> fix typo from my previous checkin that caused compact folder to disappear from the folder pane.

This commit is contained in:
scott%scott-macgregor.org 2004-10-29 18:08:18 +00:00
parent 4f05ce3a62
commit 50b4426136

View File

@ -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)
{