Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
198d75b3
Commit
198d75b3
authored
Feb 20, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initialize ZenMode on commit show and milestone edit pages.
parent
6b0199ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
app/assets/javascripts/dispatcher.js.coffee
app/assets/javascripts/dispatcher.js.coffee
+2
-1
No files found.
app/assets/javascripts/dispatcher.js.coffee
View file @
198d75b3
...
@@ -26,7 +26,7 @@ class Dispatcher
...
@@ -26,7 +26,7 @@ class Dispatcher
new
ZenMode
()
new
ZenMode
()
when
'projects:milestones:show'
when
'projects:milestones:show'
new
Milestone
()
new
Milestone
()
when
'projects:milestones:new'
when
'projects:milestones:new'
,
'projects:milestones:edit'
new
ZenMode
()
new
ZenMode
()
when
'projects:issues:new'
,
'projects:issues:edit'
when
'projects:issues:new'
,
'projects:issues:edit'
GitLab
.
GfmAutoComplete
.
setup
()
GitLab
.
GfmAutoComplete
.
setup
()
...
@@ -54,6 +54,7 @@ class Dispatcher
...
@@ -54,6 +54,7 @@ class Dispatcher
when
'projects:commit:show'
when
'projects:commit:show'
new
Commit
()
new
Commit
()
new
Diff
()
new
Diff
()
new
ZenMode
()
shortcut_handler
=
new
ShortcutsNavigation
()
shortcut_handler
=
new
ShortcutsNavigation
()
when
'projects:commits:show'
when
'projects:commits:show'
shortcut_handler
=
new
ShortcutsNavigation
()
shortcut_handler
=
new
ShortcutsNavigation
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment