Only show "Search for Shared Libraries" menu option on OS X, and move it up in the menu
This commit is contained in:
parent
ad90f90006
commit
d83f108c0b
|
@ -137,6 +137,10 @@ var ZoteroPane = new function()
|
||||||
|
|
||||||
Zotero.setFontSize(document.getElementById('zotero-pane'))
|
Zotero.setFontSize(document.getElementById('zotero-pane'))
|
||||||
|
|
||||||
|
if (Zotero.isMac) {
|
||||||
|
document.getElementById('zotero-tb-actions-zeroconf-update').setAttribute('hidden', false);
|
||||||
|
}
|
||||||
|
|
||||||
//Initialize collections view
|
//Initialize collections view
|
||||||
this.collectionsView = new Zotero.CollectionTreeView();
|
this.collectionsView = new Zotero.CollectionTreeView();
|
||||||
var collectionsTree = document.getElementById('zotero-collections-tree');
|
var collectionsTree = document.getElementById('zotero-collections-tree');
|
||||||
|
|
|
@ -123,9 +123,9 @@
|
||||||
<menupopup id="zotero-tb-actions-popup" onpopupshowing="document.getElementById('cmd_zotero_reportErrors').setAttribute('disabled', Zotero.getErrors().length == 0)">
|
<menupopup id="zotero-tb-actions-popup" onpopupshowing="document.getElementById('cmd_zotero_reportErrors').setAttribute('disabled', Zotero.getErrors().length == 0)">
|
||||||
<menuitem id="zotero-tb-actions-import" label="&zotero.toolbar.import.label;" oncommand="Zotero_File_Interface.importFile();"/>
|
<menuitem id="zotero-tb-actions-import" label="&zotero.toolbar.import.label;" oncommand="Zotero_File_Interface.importFile();"/>
|
||||||
<menuitem id="zotero-tb-actions-export" label="&zotero.toolbar.export.label;" oncommand="Zotero_File_Interface.exportFile();"/>
|
<menuitem id="zotero-tb-actions-export" label="&zotero.toolbar.export.label;" oncommand="Zotero_File_Interface.exportFile();"/>
|
||||||
|
<menuitem hidden="true" id="zotero-tb-actions-zeroconf-update"
|
||||||
|
label="Search for Shared Libraries" oncommand="Zotero.Zeroconf.findInstances()"/>
|
||||||
<menuseparator id="zotero-tb-actions-utilities-separator"/>
|
<menuseparator id="zotero-tb-actions-utilities-separator"/>
|
||||||
<menuitem id="zotero-tb-actions-zeroconf-update" label="Search for Shared Libraries"
|
|
||||||
oncommand="Zotero.Zeroconf.findInstances()"/>
|
|
||||||
<menuitem id="zotero-tb-actions-timeline" label="&zotero.toolbar.timeline.label;" oncommand="Zotero_Timeline_Interface.loadTimeline()"/>
|
<menuitem id="zotero-tb-actions-timeline" label="&zotero.toolbar.timeline.label;" oncommand="Zotero_Timeline_Interface.loadTimeline()"/>
|
||||||
<menuseparator id="zotero-tb-actions-sync-separator"/>
|
<menuseparator id="zotero-tb-actions-sync-separator"/>
|
||||||
<menuitem label="Clear Server Data" oncommand="Zotero.Sync.Server.clear()"/>
|
<menuitem label="Clear Server Data" oncommand="Zotero.Sync.Server.clear()"/>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user