summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home>2016-01-25 22:34:34 -0500
committerJacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home>2016-01-25 22:38:15 -0500
commit28aa7158118d73e60a86e8986e499e13197c4069 (patch)
tree99ea25da2c6502ce787856d6197a0222be0104af
parentfd33b2cdc04bb25a47019e9f1019a835fe318a04 (diff)
downloadgitlab-ce-using-a-or-m-hotkeys-on-issuable-tab.tar.gz
Clicks the edit button instead of opening the dropdownusing-a-or-m-hotkeys-on-issuable-tab
Fixes #2307
-rw-r--r--app/assets/javascripts/shortcuts_issuable.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/shortcuts_issuable.coffee b/app/assets/javascripts/shortcuts_issuable.coffee
index bb532194682..f717a753cf8 100644
--- a/app/assets/javascripts/shortcuts_issuable.coffee
+++ b/app/assets/javascripts/shortcuts_issuable.coffee
@@ -5,11 +5,11 @@ class @ShortcutsIssuable extends ShortcutsNavigation
constructor: (isMergeRequest) ->
super()
Mousetrap.bind('a', ->
- $('.js-assignee').select2('open')
+ $('.block.assignee .edit-link').trigger('click')
return false
)
Mousetrap.bind('m', ->
- $('.js-milestone').select2('open')
+ $('.block.milestone .edit-link').trigger('click')
return false
)
Mousetrap.bind('r', =>