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
0
Merge Requests
0
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
iv
gitlab-ce
Commits
96448d1b
Commit
96448d1b
authored
Jul 05, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix shortcuts popup
parent
5067e9dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
app/assets/javascripts/main.js.coffee
app/assets/javascripts/main.js.coffee
+4
-4
app/views/help/_shortcuts.html.haml
app/views/help/_shortcuts.html.haml
+1
-1
No files found.
app/assets/javascripts/main.js.coffee
View file @
96448d1b
...
...
@@ -67,10 +67,6 @@ $ ->
$
(
'.appear-data'
).
fadeIn
()
e
.
preventDefault
()
$
(
'body'
).
keydown
(
e
)
->
if
e
.
which
is
191
new
Shortcuts
()
# Initialize chosen selects
$
(
'select.chosen'
).
chosen
()
...
...
@@ -114,6 +110,10 @@ $ ->
when
115
$
(
"#search"
).
focus
()
e
.
preventDefault
()
when
63
new
Shortcuts
()
e
.
preventDefault
()
# Commit show suppressed diff
$
(
".supp_diff_link"
).
bind
"click"
,
->
...
...
app/views/help/_shortcuts.html.haml
View file @
96448d1b
#modal-shortcuts
.modal.hide
.modal-header
%a
.close
{
href:
"#"
}
×
%a
.close
{
href:
"#"
,
"data-dismiss"
=>
"modal"
}
×
%h3
Keyboard Shortcuts
.modal-body
%h5
Global Shortcuts
...
...
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