diff --git a/chrome/content/zotero/lookup.js b/chrome/content/zotero/lookup.js index 9218dcd81c..efbf19e492 100644 --- a/chrome/content/zotero/lookup.js +++ b/chrome/content/zotero/lookup.js @@ -72,9 +72,7 @@ var Zotero_Lookup = new function () { // If we don't yet have a file, check for available PDFs if (Zotero.Prefs.get('downloadAssociatedFiles') && newItems[0] - && !newItems[0].numPDFAttachments() - // TEMP: Limit to dev builds - && Zotero.isDevBuild) { + && !newItems[0].numPDFAttachments()) { try { yield Zotero.Attachments.addAvailablePDF(newItems[0]); } diff --git a/chrome/content/zotero/xpcom/translation/translate_item.js b/chrome/content/zotero/xpcom/translation/translate_item.js index 6113e9924d..106850e5ec 100644 --- a/chrome/content/zotero/xpcom/translation/translate_item.js +++ b/chrome/content/zotero/xpcom/translation/translate_item.js @@ -198,9 +198,7 @@ Zotero.Translate.ItemSaver.prototype = { // TODO: Separate pref? var openAccessPDFURLs = new Map(); if (this.attachmentMode == Zotero.Translate.ItemSaver.ATTACHMENT_MODE_DOWNLOAD - && Zotero.Prefs.get('downloadAssociatedFiles') - // TEMP: Limit to dev builds - && Zotero.isDevBuild) { + && Zotero.Prefs.get('downloadAssociatedFiles')) { for (let item of items) { let jsonItem = jsonByItem.get(item); @@ -255,9 +253,7 @@ Zotero.Translate.ItemSaver.prototype = { // If a translated PDF attachment wasn't saved successfully, either because there wasn't // one or there was but it failed, look for another PDF (if enabled) if (this.attachmentMode == Zotero.Translate.ItemSaver.ATTACHMENT_MODE_DOWNLOAD - && Zotero.Prefs.get('downloadAssociatedFiles') - // TEMP: Limit to dev builds - && Zotero.isDevBuild) { + && Zotero.Prefs.get('downloadAssociatedFiles')) { for (let item of items) { // Already have a PDF from translation if (itemIDsWithPDFAttachments.has(item.id)) { diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index c50e084f7f..3322478e41 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -2843,8 +2843,7 @@ var ZoteroPane = new function() } } - // TEMP: Limit to dev builds - if (canFindPDF && Zotero.isDevBuild) { + if (canFindPDF) { show.push(m.findPDF, m.sep3); } @@ -2903,8 +2902,7 @@ var ZoteroPane = new function() show.push(m.addNote, m.addAttachments, m.sep2); } - // TEMP: Limit to dev builds - if (Zotero.Attachments.canFindPDFForItem(item) && Zotero.isDevBuild) { + if (Zotero.Attachments.canFindPDFForItem(item)) { show.push(m.findPDF, m.sep3); }