From fa82b66c9f042e6c1a11d32a53251d866e0190ab Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 12 Aug 2008 07:13:04 +0000 Subject: [PATCH] Fix error in Zotero.Attachments.importFromDocument() --- chrome/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 index bb7c5c044..27b881262 100644 --- a/chrome/content/zotero/xpcom/attachments.js +++ b/chrome/content/zotero/xpcom/attachments.js @@ -558,7 +558,7 @@ Zotero.Attachments = new function(){ var nsIURL = ioService.newURI(url, null, null); wbp.progressListener = new Zotero.WebProgressFinishListener(function () { try { - attachmentItem.attachmentPath = this.getPath( + attachmentItem.attachmentPath = Zotero.Attachments.getPath( file, Zotero.Attachments.LINK_MODE_IMPORTED_URL );