Fixes #1194, RDF Export fails to export files in 1.5
This commit is contained in:
parent
a7f73f0d82
commit
7a2d7594d4
1 changed files with 1 additions and 2 deletions
|
@ -2043,8 +2043,7 @@ Zotero.Translate.prototype._exportGetAttachment = function(attachment) {
|
|||
}
|
||||
} else {
|
||||
// copy imported files from the Zotero directory
|
||||
var directory = Zotero.getStorageDirectory();
|
||||
directory.append(attachmentArray.itemID);
|
||||
var directory = file.parent;
|
||||
try {
|
||||
directory.copyTo(this._exportFileDirectory, attachmentArray.itemID);
|
||||
} catch(e) {
|
||||
|
|
Loading…
Add table
Reference in a new issue