Properly trigger shifted annotation sync after deleting PDF pages

This commit is contained in:
Martynas Bagdonas 2024-02-21 15:03:07 +02:00
parent 64b8c7b250
commit 38a42d3c91

View file

@ -532,6 +532,7 @@ class PDFWorker {
await object.reload(null, true);
}
}
await Zotero.Items.updateSynced(ids, false);
await Zotero.Notifier.trigger('modify', 'item', ids, {});
await IOUtils.write(path, new Uint8Array(modifiedBuf));