Skip to content

Commit

Permalink
menu separator
Browse files Browse the repository at this point in the history
  • Loading branch information
retorquere committed May 11, 2015
1 parent 32a923a commit 936dada
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ GEM
specs:
addressable (2.3.8)
backports (3.6.4)
bibtex-ruby (4.0.12)
bibtex-ruby (4.0.13)
latex-decode (~> 0.0)
builder (3.2.2)
childprocess (0.5.6)
Expand Down Expand Up @@ -46,10 +46,10 @@ GEM
nokogiri (~> 1.6.3)
oauth2
hashie (3.4.1)
headless (2.0.0)
headless (2.1.0)
highline (1.7.2)
json (1.8.2)
jwt (1.4.1)
jwt (1.5.0)
latex-decode (0.2.2)
unicode (~> 0.4)
launchy (2.4.3)
Expand Down Expand Up @@ -78,7 +78,7 @@ GEM
pusher-client (0.6.0)
json
websocket (~> 1.0)
rack (1.6.0)
rack (1.6.1)
rake (10.4.2)
rickshaw (0.3.1)
rspec (3.2.0)
Expand Down
1 change: 1 addition & 0 deletions chrome/content/zotero-better-bibtex/overlay.xul
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
</menupopup>

<menupopup id="zotero-collectionmenu">
<menuseparator id="zotero-better-bibtex-collectionmenu-separator"/>
<menuitem id="zotero-better-bibtex-export-group" label="&zotero.better-bibtex.exportGroup;" oncommand="Zotero.BetterBibTeX.exportGroup()"/>
<menuitem id="zotero-better-bibtex-show-export-url" label="&zotero.better-bibtex.show-collection-key;" oncommand="alert(Zotero.BetterBibTeX.pref.serverURL('.biblatex') || '&zotero.better-bibtex.server.disabled;')"/>
<menuitem id="zotero-better-bibtex-report-errors" label="&zotero.better-bibtex.reportErrors;" oncommand="Zotero.BetterBibTeX.reportErrors('collection')"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,9 @@ Zotero.BetterBibTeX.init = ->
menuItem.setAttribute('disabled', false)
menuItem.setAttribute('hidden', !(itemGroup.isLibrary(true) || itemGroup.isCollection()))

menuItem = @document.getElementById('zotero-better-bibtex-collectionmenu-separator')
menuItem.setAttribute('hidden', !(itemGroup.isLibrary(true) || itemGroup.isCollection()))

return original.apply(this, arguments)
)(zoteroPane.buildCollectionContextMenu)

Expand Down

0 comments on commit 936dada

Please sign in to comment.