Fix bibliography editor dialog (regression c89590c7)

This commit is contained in:
Adomas Venčkauskas 2023-09-21 10:33:59 +03:00
parent a8ccab78f5
commit 220eba8c63

View file

@ -57,14 +57,14 @@ var Zotero_Bibliography_Dialog = new function () {
window.addEventListener('dialogcancel', () => Zotero_Bibliography_Dialog.close());
_editor = document.querySelector('#editor').contentWindow.editor;
// load (from selectItemsDialog.js)
await doLoad();
if (!io.itemTreeID) {
io.itemTreeID = "edit-bib-select-item-dialog";
}
// load (from selectItemsDialog.js)
await doLoad();
// load bibliography entries
_loadItems();
}