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
710627fb
Commit
710627fb
authored
May 25, 2015
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Zen Mode not closing with ESC key
Closes #1025
parent
dfa1d96a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
CHANGELOG
CHANGELOG
+1
-0
app/assets/javascripts/zen_mode.js.coffee
app/assets/javascripts/zen_mode.js.coffee
+2
-2
No files found.
CHANGELOG
View file @
710627fb
Please view this file on the master branch, on stable branches it's out of date.
Please view this file on the master branch, on stable branches it's out of date.
v 7.12.0 (unreleased)
v 7.12.0 (unreleased)
- Fix Zen Mode not closing with ESC key (Stan Hu)
- Add web hook support for note events (Stan Hu)
- Add web hook support for note events (Stan Hu)
- Disable "New Issue" and "New Merge Request" buttons when features are disabled in project settings (Stan Hu)
- Disable "New Issue" and "New Merge Request" buttons when features are disabled in project settings (Stan Hu)
- Allow to configure location of the `.gitlab_shell_secret` file. (Jakub Jirutka)
- Allow to configure location of the `.gitlab_shell_secret` file. (Jakub Jirutka)
...
...
app/assets/javascripts/zen_mode.js.coffee
View file @
710627fb
...
@@ -12,11 +12,11 @@ class @ZenMode
...
@@ -12,11 +12,11 @@ class @ZenMode
$
(
'body'
).
on
'click'
,
'.zen-enter-link'
,
(
e
)
=>
$
(
'body'
).
on
'click'
,
'.zen-enter-link'
,
(
e
)
=>
e
.
preventDefault
()
e
.
preventDefault
()
$
(
e
.
currentTarget
).
closest
(
'.zennable'
).
find
(
'.zen-toggle-comment'
).
prop
(
'checked'
,
true
)
$
(
e
.
currentTarget
).
closest
(
'.zennable'
).
find
(
'.zen-toggle-comment'
).
prop
(
'checked'
,
true
)
.
change
()
$
(
'body'
).
on
'click'
,
'.zen-leave-link'
,
(
e
)
=>
$
(
'body'
).
on
'click'
,
'.zen-leave-link'
,
(
e
)
=>
e
.
preventDefault
()
e
.
preventDefault
()
$
(
e
.
currentTarget
).
closest
(
'.zennable'
).
find
(
'.zen-toggle-comment'
).
prop
(
'checked'
,
false
)
$
(
e
.
currentTarget
).
closest
(
'.zennable'
).
find
(
'.zen-toggle-comment'
).
prop
(
'checked'
,
false
)
.
change
()
$
(
'body'
).
on
'change'
,
'.zen-toggle-comment'
,
(
e
)
=>
$
(
'body'
).
on
'change'
,
'.zen-toggle-comment'
,
(
e
)
=>
checkbox
=
e
.
currentTarget
checkbox
=
e
.
currentTarget
...
...
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