commit 30535653a6f61b937805f2fe5da174c56d49d038 parent db2348f10025c80d0e6b0d7919fc239c88195716 Author: Dan Stillman <dstillman@zotero.org> Date: Sun, 26 Apr 2015 02:06:38 -0400 Fix error saving single attachment files from document Diffstat:
| M | 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 @@ -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; }