Fix "Rename Attachment from Parent Metadata" on Linux

This commit is contained in:
Dan Stillman 2009-07-06 21:52:27 +00:00
parent b619b2a010
commit 5792b46409

View File

@ -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;
}