mirror of
https://github.com/zotero/zotero.git
synced 2026-10-09 03:18:01 +00:00
parent
a53e474f9c
commit
d1c6ee33be
1 changed files with 3 additions and 2 deletions
|
|
@ -186,9 +186,10 @@ describe("Plugin API", function () {
|
|||
|
||||
await ZoteroPane.viewItems([attachment]);
|
||||
let tabID = Zotero_Tabs.selectedID;
|
||||
await Zotero.Reader.getByTabID(tabID)._waitForReader();
|
||||
let reader = Zotero.Reader.getByTabID(tabID);
|
||||
await reader._initPromise;
|
||||
// Ensure context pane is open
|
||||
ZoteroContextPane.splitter.setAttribute("state", "open");
|
||||
ZoteroContextPane.collapsed = false;
|
||||
result = await itemChangePromise;
|
||||
|
||||
let itemDetails = ZoteroContextPane.context._getItemContext(tabID);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue