Hide Actions menu in Standalone
Leave it in place in Firefox for now for development
This commit is contained in:
parent
e282a5643f
commit
82292eef77
2 changed files with 8 additions and 2 deletions
|
@ -82,6 +82,12 @@ var ZoteroPane = new function()
|
|||
window.document.documentElement.setAttribute('sizemode', 'normal');
|
||||
}
|
||||
|
||||
// For now, keep actions menu in the DOM and show it in Firefox for development
|
||||
if (!Zotero.isStandalone) {
|
||||
document.getElementById('zotero-tb-actions-menu-separator').hidden = false;
|
||||
document.getElementById('zotero-tb-actions-menu').hidden = false;
|
||||
}
|
||||
|
||||
// Set "Report Errors..." label via property rather than DTD entity,
|
||||
// since we need to reference it in script elsewhere
|
||||
document.getElementById('zotero-tb-actions-reportErrors').setAttribute('label',
|
||||
|
|
|
@ -123,8 +123,8 @@
|
|||
</menu>
|
||||
</menupopup>
|
||||
</toolbarbutton>
|
||||
<spacer flex="1"/>
|
||||
<toolbarbutton id="zotero-tb-actions-menu" class="zotero-tb-button" tooltiptext="&zotero.toolbar.actions.label;" type="menu">
|
||||
<spacer id="zotero-tb-actions-menu-separator" flex="1" hidden="true"/>
|
||||
<toolbarbutton id="zotero-tb-actions-menu" class="zotero-tb-button" tooltiptext="&zotero.toolbar.actions.label;" type="menu" hidden="true">
|
||||
<menupopup id="zotero-tb-actions-popup">
|
||||
<menuitem id="zotero-tb-actions-import" label="&zotero.toolbar.import.label;" command="cmd_zotero_import"/>
|
||||
<menuitem id="zotero-tb-actions-import-clipboard" label="&zotero.toolbar.importFromClipboard;" command="cmd_zotero_importFromClipboard"/>
|
||||
|
|
Loading…
Reference in a new issue