diff --git a/chrome/content/zotero/xpcom/attachments.js b/chrome/content/zotero/xpcom/attachments.js index f4d2d8319..6021cd272 100644 --- a/chrome/content/zotero/xpcom/attachments.js +++ b/chrome/content/zotero/xpcom/attachments.js @@ -616,7 +616,7 @@ Zotero.Attachments = new function(){ wbp.progressListener = new Zotero.WebProgressFinishListener(function () { deferred.resolve(); }); - Zotero.Utilities.Internal.saveURI(wbp, nsIURL, file); + Zotero.Utilities.Internal.saveURI(wbp, nsIURL, tmpFile); yield deferred.promise; }