Fix "Rename Attachment from Parent Metadata" on Linux

This commit is contained in:
Dan Stillman 2009-07-06 21:52:27 +00:00
parent 511fc3e7b6
commit 3f04818fef

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