remove copy folder location menu item from server context menus r=hwaara, sr=sspitzer 129557

This commit is contained in:
bienvenu%netscape.com 2002-03-08 14:52:39 +00:00
Родитель d5a250d75b
Коммит 6f87ee9813
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -185,6 +185,7 @@ function fillFolderPaneContextMenu()
SetupRemoveMenuItem(folderResource, numSelected, isServer, serverType, specialFolder);
SetupCompactMenuItem(folderResource, numSelected);
ShowMenuItem("folderPaneContext-copy-location", !isServer);
ShowMenuItem("folderPaneContext-emptyTrash", (numSelected <= 1) && (specialFolder == 'Trash'));
EnableMenuItem("folderPaneContext-emptyTrash", true);
@ -201,7 +202,7 @@ function fillFolderPaneContextMenu()
ShowMenuItem("folderPaneContext-subscribe", (numSelected <= 1) && canSubscribeToFolder);
EnableMenuItem("folderPaneContext-subscribe", true);
ShowMenuItem("folderPaneContext-sep1", (numSelected <= 1));
ShowMenuItem("folderPaneContext-sep1", (numSelected <= 1) && !isServer);
// News folder context menu =============================================
ShowMenuItem("folderPaneContext-newsUnsubscribe", (numSelected <= 1) && canSubscribeToFolder && isNewsgroup);