www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 7a2d7594d4cd39ca9ac44452f3799c9b844e4637
parent a7f73f0d8215e71043a35db42b3e04a64674329d
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri, 24 Oct 2008 20:11:34 +0000

Fixes #1194, RDF Export fails to export files in 1.5


Diffstat:
Mchrome/content/zotero/xpcom/translate.js | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/chrome/content/zotero/xpcom/translate.js b/chrome/content/zotero/xpcom/translate.js @@ -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) {