Allow "Create Parent Item from Selected Item" for PDFs, at least until failed metadata retrieval does something more helpful
This commit is contained in:
parent
ea20a4067f
commit
c1af72fcd2
2 changed files with 7 additions and 8 deletions
|
@ -2149,8 +2149,8 @@ var ZoteroPane = new function()
|
|||
'createBib',
|
||||
'loadReport',
|
||||
'sep4',
|
||||
'createParent',
|
||||
'recognizePDF',
|
||||
'createParent',
|
||||
'renameAttachments',
|
||||
'reindexItem'
|
||||
];
|
||||
|
@ -2290,12 +2290,11 @@ var ZoteroPane = new function()
|
|||
show.push(m.recognizePDF);
|
||||
showSep4 = true;
|
||||
}
|
||||
else {
|
||||
// If not a PDF, allow parent item creation
|
||||
if (item.isTopLevelItem()) {
|
||||
show.push(m.createParent);
|
||||
showSep4 = true;
|
||||
}
|
||||
|
||||
// Allow parent item creation for standalone attachments
|
||||
if (item.isTopLevelItem()) {
|
||||
show.push(m.createParent);
|
||||
showSep4 = true;
|
||||
}
|
||||
|
||||
// Attachment rename option
|
||||
|
|
|
@ -278,8 +278,8 @@
|
|||
<menuitem oncommand="Zotero_File_Interface.bibliographyFromItems();"/>
|
||||
<menuitem oncommand="Zotero_Report_Interface.loadItemReport()"/>
|
||||
<menuseparator/>
|
||||
<menuitem oncommand="ZoteroPane_Local.createParentItemsFromSelected();"/>
|
||||
<menuitem oncommand="Zotero_RecognizePDF.recognizeSelected();"/>
|
||||
<menuitem oncommand="ZoteroPane_Local.createParentItemsFromSelected();"/>
|
||||
<menuitem oncommand="ZoteroPane_Local.renameSelectedAttachmentsFromParents()"/>
|
||||
<menuitem oncommand="ZoteroPane_Local.reindexItem();"/>
|
||||
</menupopup>
|
||||
|
|
Loading…
Add table
Reference in a new issue