Files
gitlabhq/app/assets/javascripts
Fatih AcetandRobert Speicher c090535a04 Merge branch '19157-use-shortcuts-is-not-working-on-gitlab-com-help' into 'master'
Fixed 'use shortcuts' button on docs

## What does this MR do?

Exposes 'onToggleHelp() to window object through `showHelp()` so a help panel can be toggled globally using `showHelp()`.

## Are there points in the code the reviewer needs to double check?

Is this the best implementation? I actually think this is tidier than doing something like `onclick="new Shortcuts().onToggleHelp"` or `$.trigger 'keydown', char: '?'` but let me know.

## Why was this MR needed?

Docs UX

## What are the relevant issue numbers?

Closes #19157.

## Screenshots (if relevant)

## Does this MR meet the acceptance criteria?

- [ ] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- [ ] API support added
- Tests
  - [ ] Added for this feature/bug
  - [ ] All builds are passing
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [x] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)
Closes #19157

See merge request !4979
(cherry picked from commit 48843c0d85)
2016-07-06 12:39:42 -04:00
..
2016-06-07 15:27:30 -06:00
2016-03-20 10:58:59 -07:00
2016-04-21 00:20:13 +00:00
2016-04-06 11:08:40 +01:00
2016-06-03 17:14:23 -05:00
2016-04-14 10:28:05 +01:00
2014-12-30 11:46:48 +02:00
2016-04-18 13:45:26 +01:00
2016-03-10 13:55:01 +01:00
2016-04-26 09:03:04 +01:00
2016-06-09 17:19:14 +01:00
2016-03-03 13:09:58 +01:00