![]() Previously, object identifiers were registered in a commit callback, but that meant that they wouldn't be available to getLibraryAndKeyFromID/ getIDFromLibraryAndKey within a transaction. Instead, register them before saving and clear them in a tranasction rollback if necessary. This changes Zotero.DataObject to call its own _finalizeSave() in addition to a descendent one. |
||
---|---|---|
.. | ||
zotero | ||
zotero-platform |