Fix a situation under which Zotero could fail to embed item data in a document

This commit is contained in:
Simon Kornblith 2012-08-19 12:39:49 -04:00
parent d9ea6d3647
commit 9ca142c4f6

View file

@ -2193,7 +2193,7 @@ Zotero.Integration.Session.prototype.getCitationField = function(citation) {
// add itemData only if requested
if(this.data.prefs.storeReferences) {
serializeCitationItem.itemData = citationItem.item;
serializeCitationItem.itemData = Zotero.Cite.System.retrieveItem(citationItem.id);
addSchema = true;
}
}