diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index cf73a3c671..b2bcf97b9c 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -2702,7 +2702,6 @@ var ZoteroPane = new function() 'sep5', 'recognizePDF', 'unrecognize', - 'reportMetadata', 'createParent', 'renameAttachments', 'reindexItem', @@ -2910,7 +2909,7 @@ var ZoteroPane = new function() } if (Zotero.RecognizePDF.canUnrecognize(item)) { - show.push(m.sep5, m.unrecognize, m.reportMetadata); + show.push(m.sep5, m.unrecognize); } if (item.isAttachment()) { @@ -4366,42 +4365,6 @@ var ZoteroPane = new function() }; - this.reportMetadataForSelected = async function () { - let items = ZoteroPane.getSelectedItems(); - if(!items.length) return; - - let input = {value: ''}; - let confirmed; - do { - confirmed = Services.prompt.prompt( - null, - Zotero.getString('recognizePDF.reportMetadata'), - Zotero.getString('general.describeProblem'), - input, null, {} - ); - } while(confirmed && !input.value); - - if(!confirmed) return; - - try { - await Zotero.RecognizePDF.report(items[0], input.value); - Zotero.alert( - window, - Zotero.getString('general.submitted'), - Zotero.getString('general.thanksForHelpingImprove', Zotero.clientName) - ); - } - catch (e) { - Zotero.logError(e); - Zotero.alert( - window, - Zotero.getString('general.error'), - Zotero.getString('general.invalidResponseServer') - ); - } - }; - - this.createParentItemsFromSelected = async function () { if (!this.canEdit()) { this.displayCannotEditLibraryMessage(); diff --git a/chrome/content/zotero/zoteroPane.xul b/chrome/content/zotero/zoteroPane.xul index e7142dcb2a..5cc0ad9e60 100644 --- a/chrome/content/zotero/zoteroPane.xul +++ b/chrome/content/zotero/zoteroPane.xul @@ -311,7 +311,6 @@ -