Fix "Rename Attachment from Parent Metadata" on Linux
This commit is contained in:
parent
b619b2a010
commit
5792b46409
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user