Show only "Export Files..." in context menu for My Publications
This commit is contained in:
parent
0f519dc757
commit
e1355cef2f
1 changed files with 13 additions and 6 deletions
|
@ -2296,9 +2296,6 @@ var ZoteroPane = new function()
|
|||
else if (collectionTreeRow.isTrash()) {
|
||||
show = [m.emptyTrash];
|
||||
}
|
||||
else if (collectionTreeRow.isGroup()) {
|
||||
show = [m.newCollection, m.newSavedSearch, m.sep1, m.showDuplicates, m.showUnfiled, m.sep2, m.exportFile];
|
||||
}
|
||||
else if (collectionTreeRow.isDuplicates() || collectionTreeRow.isUnfiled()) {
|
||||
show = [
|
||||
m.deleteCollection
|
||||
|
@ -2314,10 +2311,20 @@ var ZoteroPane = new function()
|
|||
else if (collectionTreeRow.isBucket()) {
|
||||
show = [m.refreshCommonsBucket];
|
||||
}
|
||||
else if (collectionTreeRow.isPublications()) {
|
||||
show = [m.exportFile];
|
||||
}
|
||||
// Library
|
||||
else
|
||||
{
|
||||
show = [m.newCollection, m.newSavedSearch, m.sep1, m.showDuplicates, m.showUnfiled, m.sep2, m.exportFile];
|
||||
else {
|
||||
show = [
|
||||
m.newCollection,
|
||||
m.newSavedSearch,
|
||||
m.sep1,
|
||||
m.showDuplicates,
|
||||
m.showUnfiled,
|
||||
m.sep2,
|
||||
m.exportFile
|
||||
];
|
||||
}
|
||||
|
||||
// Disable some actions if user doesn't have write access
|
||||
|
|
Loading…
Reference in a new issue