mirror of
https://github.com/zotero/zotero.git
synced 2026-10-08 03:08:19 +00:00
Fix "Rename Attachment from Parent Metadata" on Linux
This commit is contained in:
parent
b619b2a010
commit
5792b46409
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue