Fix error saving single attachment files from document
This commit is contained in:
parent
db2348f100
commit
30535653a6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue