Fix unloaded citation items being serialized with string IDs
This commit is contained in:
parent
b25d99c241
commit
079cb258f4
1 changed files with 2 additions and 0 deletions
|
@ -1474,6 +1474,8 @@ Zotero.Integration._oldCitationLocatorMap = {
|
|||
*/
|
||||
Zotero.Integration.Session.prototype.addCitation = Zotero.Promise.coroutine(function* (index, noteIndex, citation) {
|
||||
var index = parseInt(index, 10);
|
||||
|
||||
yield citation.loadItemData();
|
||||
|
||||
citation.properties.added = true;
|
||||
citation.properties.zoteroIndex = index;
|
||||
|
|
Loading…
Add table
Reference in a new issue