summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-02-23 20:04:20 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-02-23 20:17:16 -0500
commit798c220037f9bff54bae1afd853b367224f2cdaf (patch)
treeac2fbd0a17068f715ce05aa20a5e8e1d36248ab0
parentb2604f566d785fd5468c9e9fdb1d1a8a8ed68e99 (diff)
downloadgitlab-ce-bugfix/jschatz1/missing-project-button.tar.gz
Initialize navigation shortcuts on project's files pagebugfix/jschatz1/missing-project-button
-rw-r--r--app/assets/javascripts/dispatcher.js.coffee1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/dispatcher.js.coffee b/app/assets/javascripts/dispatcher.js.coffee
index 4c6cf3417e8..89f1993797f 100644
--- a/app/assets/javascripts/dispatcher.js.coffee
+++ b/app/assets/javascripts/dispatcher.js.coffee
@@ -90,6 +90,7 @@ class Dispatcher
when 'groups:new', 'groups:edit', 'admin:groups:edit', 'admin:groups:new'
new GroupAvatar()
when 'projects:tree:show'
+ shortcut_handler = new ShortcutsNavigation()
new TreeView()
when 'projects:find_file:show'
shortcut_handler = true