diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js index 67717fa67..c15e89864 100644 --- a/chrome/content/zotero/overlay.js +++ b/chrome/content/zotero/overlay.js @@ -1482,7 +1482,8 @@ var ZoteroPane = new function() createBib: 11, loadReport: 12, sep4: 13, - reindexItem: 14 + reindexItem: 14, + recognizePDF: 15 }; var menu = document.getElementById('zotero-itemmenu'); @@ -1507,20 +1508,37 @@ var ZoteroPane = new function() hide.push(m.showInLibrary, m.sep1, m.addNote, m.attachSnapshot, m.attachLink, m.sep2, m.duplicateItem); - // If all items can be reindexed, show option + // If all items can be reindexed, or all items can be recognized, show option var items = this.getSelectedItems(); var canIndex = true; + var canRecognize = true; for (var i=0; i