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
Родитель be306b6328
Коммит 4b7d383e71
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

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