This commit is contained in:
Simon Kornblith 2014-02-12 01:02:54 -05:00
parent 8b6cedd037
commit 41c19992fe

View file

@ -2287,7 +2287,8 @@ Zotero.Integration.Session.prototype.lookupItems = function(citation, index) {
var citationItem = citation.citationItems[i]; var citationItem = citation.citationItems[i];
// get Zotero item // get Zotero item
var zoteroItem = false; var zoteroItem = false,
needUpdate;
if(citationItem.uris) { if(citationItem.uris) {
[zoteroItem, needUpdate] = this.uriMap.getZoteroItemForURIs(citationItem.uris); [zoteroItem, needUpdate] = this.uriMap.getZoteroItemForURIs(citationItem.uris);
if(needUpdate && index) this.updateIndices[index] = true; if(needUpdate && index) this.updateIndices[index] = true;