www

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

commit 5792b4640925ce1168fe2ac4107d67a693d49791
parent b619b2a010b7d5f6831177a4e966c24139ca9941
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon,  6 Jul 2009 21:52:27 +0000

Fix "Rename Attachment from Parent Metadata" on Linux


Diffstat:
Mchrome/content/zotero/xpcom/data/item.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js @@ -2553,8 +2553,8 @@ Zotero.Item.prototype.renameAttachmentFile = function(newName, overwrite) { file.moveTo(null, newName); // Update mod time so the file syncs - file.lastModifiedTime = new Date(); - this.relinkAttachmentFile(file); + dest.lastModifiedTime = new Date(); + this.relinkAttachmentFile(dest); return true; }