Fix error with citations not in library (since f3ceb7f66
)
This commit is contained in:
parent
fe88530120
commit
9e1533c32d
1 changed files with 7 additions and 2 deletions
|
@ -2480,8 +2480,13 @@ Zotero.Integration.Session.prototype.lookupItems = Zotero.Promise.coroutine(func
|
|||
}
|
||||
|
||||
if(zoteroItem) {
|
||||
items.push(zoteroItem);
|
||||
citationItem.id = zoteroItem.cslItemID ? zoteroItem.cslItemID : zoteroItem.id;
|
||||
if (zoteroItem.cslItemID) {
|
||||
citationItem.id = zoteroItem.cslItemID;
|
||||
}
|
||||
else {
|
||||
citationItem.id = zoteroItem.id;
|
||||
items.push(zoteroItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue