mirror of
https://github.com/zotero/zotero.git
synced 2026-11-14 09:21:32 +00:00
Fix button menu added by API not registered with pluginID
This commit is contained in:
parent
00ea4ad97c
commit
38be8d4b67
1 changed files with 6 additions and 1 deletions
|
|
@ -270,6 +270,7 @@
|
|||
Zotero.MenuManager.updateMenuPopup(subPopup, option._menuTarget, {
|
||||
event,
|
||||
getContext,
|
||||
pluginID: option.pluginID,
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
@ -444,6 +445,7 @@
|
|||
Zotero.MenuManager.updateMenuPopup(popup, option._menuTarget, {
|
||||
event,
|
||||
getContext: () => this._getContext(reader),
|
||||
pluginID: option.pluginID,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
@ -778,7 +780,10 @@
|
|||
if (!option._menuTarget) {
|
||||
return;
|
||||
}
|
||||
Zotero.MenuManager.updateMenuPopup(popupElem, option._menuTarget, args);
|
||||
Zotero.MenuManager.updateMenuPopup(popupElem, option._menuTarget, {
|
||||
...args,
|
||||
pluginID: option.pluginID,
|
||||
});
|
||||
},
|
||||
|
||||
updateOverflowPopup(popupElem, options, args) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue