diff options
author | Phil Hughes <me@iamphill.com> | 2016-04-20 17:00:12 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-04-20 17:00:12 +0100 |
commit | 75626d5f0134770065a18c73223bdd798866fa5b (patch) | |
tree | cc1d8bc6d2a674a0eb53fcf050afb3f92f077aae /app/assets/javascripts/dispatcher.js.coffee | |
parent | a845252983e4a0346c17e1b058c388f4c23a547d (diff) | |
download | gitlab-ce-75626d5f0134770065a18c73223bdd798866fa5b.tar.gz |
Label text color comes from JSON
Created issuable singleton to house the filtering
Diffstat (limited to 'app/assets/javascripts/dispatcher.js.coffee')
-rw-r--r-- | app/assets/javascripts/dispatcher.js.coffee | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/dispatcher.js.coffee b/app/assets/javascripts/dispatcher.js.coffee index ffc5dc602e2..f3ae146691b 100644 --- a/app/assets/javascripts/dispatcher.js.coffee +++ b/app/assets/javascripts/dispatcher.js.coffee @@ -17,6 +17,7 @@ class Dispatcher switch page when 'projects:issues:index' Issues.init() + Issuable.init() shortcut_handler = new ShortcutsNavigation() when 'projects:issues:show' new Issue() @@ -57,8 +58,7 @@ class Dispatcher new ZenMode() when 'projects:merge_requests:index' shortcut_handler = new ShortcutsNavigation() - MergeRequests.init() - Issues.init() + Issuable.init() when 'dashboard:activity' new Activities() when 'dashboard:projects:starred' |