From 30535653a6f61b937805f2fe5da174c56d49d038 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 26 Apr 2015 02:06:38 -0400 Subject: [PATCH] Fix error saving single attachment files from document --- 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 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; }