mirror of
https://github.com/zotero/zotero.git
synced 2026-08-28 05:25:31 +00:00
Fix saving lastRead in read-only library
This commit is contained in:
parent
cf7fcd751f
commit
5dc9705294
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ Zotero.AttachmentReadObserver = {
|
|||
}
|
||||
|
||||
item.attachmentLastRead = Math.round(this._getCurrentDate().getTime() / 1000);
|
||||
await item.saveTx({ skipDateModifiedUpdate: true });
|
||||
await item.saveTx({ skipDateModifiedUpdate: true, skipEditCheck: true });
|
||||
},
|
||||
|
||||
async notify(action, type, ids, extraData) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue