зеркало из https://github.com/mozilla/gecko-dev.git
Bug 207861 Rename Folder option erroneously displays in newsgroup context menu p=biesi r=me sr=mscott a=chofmann
This commit is contained in:
Родитель
67a283b0db
Коммит
e4f1c3709b
|
@ -329,7 +329,6 @@ function SetupRenameMenuItem(folderResource, numSelected, isServer, serverType,
|
|||
var folderTree = GetFolderTree();
|
||||
var isSpecialFolder = !(specialFolder == "none" || (specialFolder == "Junk" && CanRenameDeleteJunkMail(msgFolder.URI)));
|
||||
var canRename = GetFolderAttribute(folderTree, folderResource, "CanRename") == "true";
|
||||
canRename = canRename || !isSpecialFolder;
|
||||
|
||||
ShowMenuItem("folderPaneContext-rename", (numSelected <= 1) && !isServer && !isSpecialFolder && canRename);
|
||||
var folder = GetMsgFolderFromResource(folderResource);
|
||||
|
|
Загрузка…
Ссылка в новой задаче