Make sure styles are loaded before opening doc-prefs dialog
This commit is contained in:
parent
49001572fd
commit
de269b3021
1 changed files with 2 additions and 0 deletions
|
@ -2177,6 +2177,8 @@ Zotero.Integration.Session.prototype.setDocPrefs = Zotero.Promise.coroutine(func
|
|||
io.requireStoreReferences = !Zotero.Utilities.isEmpty(this.embeddedItems);
|
||||
}
|
||||
|
||||
// Make sure styles are initialized for new docs
|
||||
yield Zotero.Styles.init();
|
||||
yield Zotero.Integration.displayDialog(doc,
|
||||
'chrome://zotero/content/integration/integrationDocPrefs.xul', '', io);
|
||||
|
||||
|
|
Loading…
Reference in a new issue