www

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

commit f1aa6c5c80a093d4a58b20216a473b469aeddd55
parent c02baa639d64deb860c4e6769d6f364e4e20729b
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri, 18 Mar 2016 04:51:32 -0400

Fix indexing of PDFs imported from current document

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

diff --git a/chrome/content/zotero/xpcom/attachments.js b/chrome/content/zotero/xpcom/attachments.js @@ -672,7 +672,7 @@ Zotero.Attachments = new function(){ // We'll index it later if it fails. (This may not be necessary.) if (contentType == 'application/pdf') { setTimeout(function () { - Zotero.Fulltext.indexPDF(file.path, attachmentItem.id); + Zotero.Fulltext.indexPDF(attachmentItem.getFilePath(), attachmentItem.id); }, 1000); } else if (Zotero.MIME.isTextType(contentType)) {