summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/dispatcher.js.coffee
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-02-23 09:06:26 +0000
committerPhil Hughes <me@iamphill.com>2016-02-23 09:06:26 +0000
commitd80205b75502ad53b4db085b0fd7fc2a1cb54b05 (patch)
tree62f221b3f8045bca3736352f323a7b8081d6eea5 /app/assets/javascripts/dispatcher.js.coffee
parent7c8099853621cc2a244bf6e0fd37a8b503d1ec5e (diff)
downloadgitlab-ce-d80205b75502ad53b4db085b0fd7fc2a1cb54b05.tar.gz
Fixes issue with file view rows not clickable on project main viewfiles-view-row-click
Fixed an issue where it would only load the first 25 commit data on project main view Stopped the file view sending 1 too many requests Fixes #3916
Diffstat (limited to 'app/assets/javascripts/dispatcher.js.coffee')
-rw-r--r--app/assets/javascripts/dispatcher.js.coffee2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/dispatcher.js.coffee b/app/assets/javascripts/dispatcher.js.coffee
index 407005d8adf..7eda9a18a51 100644
--- a/app/assets/javascripts/dispatcher.js.coffee
+++ b/app/assets/javascripts/dispatcher.js.coffee
@@ -76,6 +76,8 @@ class Dispatcher
shortcut_handler = new ShortcutsNavigation()
when 'projects:show'
shortcut_handler = new ShortcutsNavigation()
+
+ new TreeView() if $('#tree-slider')
when 'groups:show'
new Activities()
shortcut_handler = new ShortcutsNavigation()