diff --git a/chrome/content/zotero/integration/editBibliographyDialog.js b/chrome/content/zotero/integration/editBibliographyDialog.js index 3f9d1e1370..ee32a3f39c 100644 --- a/chrome/content/zotero/integration/editBibliographyDialog.js +++ b/chrome/content/zotero/integration/editBibliographyDialog.js @@ -302,7 +302,7 @@ var Zotero_Bibliography_Dialog = new function () { */ function _loadItems() { var itemIDs = bibEditInterface.bibliography[0].entry_ids; - var items = Zotero.Items.get(itemIDs); + var items = [Zotero.Cite.getItem(itemID[0]) for each(itemID in itemIDs)]; // delete all existing items from list var itemList = document.getElementById("item-list"); diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js index 03e6160dac..492f42ec92 100644 --- a/chrome/content/zotero/xpcom/integration.js +++ b/chrome/content/zotero/xpcom/integration.js @@ -1579,7 +1579,7 @@ Zotero.Integration.Session = function(doc) { this.omittedItems = {}; this.embeddedItems = {}; this.embeddedZoteroItems = {}; - this.embeddedItemsByURI = {}; + this.embeddedZoteroItemsByURI = {}; this.customBibliographyText = {}; this.reselectedItems = {}; this.resetRequest(doc); @@ -1900,37 +1900,25 @@ Zotero.Integration.Session.prototype.lookupItems = function(citation, index) { } if(!zoteroItem) { - // check embedded items - if(citationItem.uris) { - var success = false; - for(var j=0, m=citationItem.uris.length; j