Merge branch 'fix-commit-zen-mode' into 'master'
Fix ZenMode on commit show and milestone edit pages. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/1110 See merge request !1557
This commit is contained in:
commit
8601c502e8
|
@ -26,7 +26,7 @@ class Dispatcher
|
|||
new ZenMode()
|
||||
when 'projects:milestones:show'
|
||||
new Milestone()
|
||||
when 'projects:milestones:new'
|
||||
when 'projects:milestones:new', 'projects:milestones:edit'
|
||||
new ZenMode()
|
||||
when 'projects:issues:new','projects:issues:edit'
|
||||
GitLab.GfmAutoComplete.setup()
|
||||
|
@ -54,6 +54,7 @@ class Dispatcher
|
|||
when 'projects:commit:show'
|
||||
new Commit()
|
||||
new Diff()
|
||||
new ZenMode()
|
||||
shortcut_handler = new ShortcutsNavigation()
|
||||
when 'projects:commits:show'
|
||||
shortcut_handler = new ShortcutsNavigation()
|
||||
|
|
Loading…
Reference in New Issue