www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 9cb95ac77ccecfb6066f8d950d30cf4208b92b80
parent a9c4e0385c41d480877988506e29863754ae8635
Author: Simon Kornblith <simon@simonster.com>
Date:   Tue,  9 Sep 2008 21:01:47 +0000

don't show option to retrieve metadata if PDF indexer is not installed


Diffstat:
Mchrome/content/zotero/recognizePDF.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/recognizePDF.js b/chrome/content/zotero/recognizePDF.js @@ -39,7 +39,7 @@ var Zotero_RecognizePDF = new function() { * @returns {Boolean} True if the PDF can be recognized, false if it cannot be */ this.canRecognize = function(/**Zotero.Item*/ item) { - return (Zotero.Fulltext.pdfConverterIsRegistered && item.attachmentMIMEType && + return (Zotero.Fulltext.pdfConverterIsRegistered() && item.attachmentMIMEType && item.attachmentMIMEType == "application/pdf" && !item.getSource()); }