New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Middle-clicking to open new tab not working for some System menu items #2468

Closed
coffee-squirrel opened this Issue Jul 7, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@coffee-squirrel

coffee-squirrel commented Jul 7, 2016

Problem description

Middle-clicking the System menu links "Collectors", "Enterprise", or "Pipelines" links does not result in a new tab being opened.

Steps to reproduce the problem

  1. Log in to Graylog as an admin
  2. Left-click the "System" menu link in the top navigation bar
  3. Middle-click one or more of the "Overview" through "Grok Patterns" links (and "REST API Browser") and note a new tab is opened
  4. Middle-click one or more of the "Collectors", "Enterprise", or "Pipelines" links and note no new tab is opened

The generated HTML for the System menu is:

<ul data-reactid=".0.0.0.1.0.$4/=15.$/=11" aria-labelledby="system-menu-dropdown" role="menu" class="dropdown-menu">
  <li data-reactid=".0.0.0.1.0.$4/=15.$/=11.$/=10" class="" role="presentation"><a data-reactid=".0.0.0.1.0.$4/=15.$/=11.$/=10.0" tabindex="-1" href="/system/overview" role="menuitem">Overview</a></li>
  <li data-reactid=".0.0.0.1.0.$4/=15.$/=11.$/=11" class="" role="presentation"><a data-reactid=".0.0.0.1.0.$4/=15.$/=11.$/=11.0" tabindex="-1" href="/system/configurations" role="menuitem">Configurations</a></li>
  <li data-reactid=".0.0.0.1.0.$4/=15.$/=11.$/=12" class="" role="presentation"><a data-reactid=".0.0.0.1.0.$4/=15.$/=11.$/=12.0" tabindex="-1" href="/system/nodes" role="menuitem">Nodes</a></li>
  <li data-reactid=".0.0.0.1.0.$4/=15.$/=11.$/=13" class="" role="presentation"><a data-reactid=".0.0.0.1.0.$4/=15.$/=11.$/=13.0" tabindex="-1" href="/system/inputs" role="menuitem">Inputs</a></li>
  <li data-reactid=".0.0.0.1.0.$4/=15.$/=11.$/=14" class="" role="presentation"><a data-reactid=".0.0.0.1.0.$4/=15.$/=11.$/=14.0" tabindex="-1" href="/system/outputs" role="menuitem">Outputs</a></li>
  <li data-reactid=".0.0.0.1.0.$4/=15.$/=11.$/=15" class="" role="presentation"><a data-reactid=".0.0.0.1.0.$4/=15.$/=11.$/=15.0" tabindex="-1" href="/system/indices" role="menuitem">Indices</a></li>
  <li data-reactid=".0.0.0.1.0.$4/=15.$/=11.$/=16" class="" role="presentation"><a data-reactid=".0.0.0.1.0.$4/=15.$/=11.$/=16.0" tabindex="-1" href="/system/logging" role="menuitem">Logging</a></li>
  <li data-reactid=".0.0.0.1.0.$4/=15.$/=11.$/=17" class="" role="presentation"><a data-reactid=".0.0.0.1.0.$4/=15.$/=11.$/=17.0" tabindex="-1" href="/system/users" role="menuitem">Users</a></li>
  <li data-reactid=".0.0.0.1.0.$4/=15.$/=11.$/=18" class="" role="presentation"><a data-reactid=".0.0.0.1.0.$4/=15.$/=11.$/=18.0" tabindex="-1" href="/system/roles" role="menuitem">Roles</a></li>
  <li data-reactid=".0.0.0.1.0.$4/=15.$/=11.$/=19" class="" role="presentation"><a data-reactid=".0.0.0.1.0.$4/=15.$/=11.$/=19.0" tabindex="-1" href="/system/contentpacks" role="menuitem">Content Packs</a></li>
  <li data-reactid=".0.0.0.1.0.$4/=15.$/=11.$/=1a" class="" role="presentation"><a data-reactid=".0.0.0.1.0.$4/=15.$/=11.$/=1a.0" tabindex="-1" href="/system/grokpatterns" role="menuitem">Grok Patterns</a></li>
  <li data-reactid=".0.0.0.1.0.$4/=15.$/=11.$//system//collectors/=1b=2$/system/collectors" class="" role="presentation"><a data-reactid=".0.0.0.1.0.$4/=15.$/=11.$//system//collectors/=1b=2$/system/collectors.0" href="/system/collectors">Collectors</a></li>
  <li data-reactid=".0.0.0.1.0.$4/=15.$/=11.$//enterprise/=1b=2$/enterprise" class="" role="presentation"><a data-reactid=".0.0.0.1.0.$4/=15.$/=11.$//enterprise/=1b=2$/enterprise.0" href="/enterprise">Enterprise</a></li>
  <li data-reactid=".0.0.0.1.0.$4/=15.$/=11.$//system//pipelines/=1b=2$/system/pipelines" class="" role="presentation"><a data-reactid=".0.0.0.1.0.$4/=15.$/=11.$//system//pipelines/=1b=2$/system/pipelines.0" href="/system/pipelines">Pipelines</a></li>
  <li data-reactid=".0.0.0.1.0.$4/=15.$/=11.$/=1c" class="divider" role="separator"></li>
  <li data-reactid=".0.0.0.1.0.$4/=15.$/=11.$/=1d" class="" role="presentation"><a data-reactid=".0.0.0.1.0.$4/=15.$/=11.$/=1d.0" tabindex="-1" target="_blank" href="https://mygraylog.mysite.com:9443/api-browser" role="menuitem">REST API Browser</a></li>
</ul>

Environment

  • Graylog Version: 2.0.3
  • Elasticsearch Version: 2.2.0
  • MongoDB Version: 2.6.12
  • Operating System: Red Hat Enterprise Linux Server release 6.7
  • Browser version: Firefox 47, Chrome 51.0.2704.103

@edmundoa edmundoa self-assigned this Jul 8, 2016

@edmundoa edmundoa added this to the 2.1.0 milestone Jul 8, 2016

@edmundoa edmundoa closed this in f72e83e Jul 8, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment