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
92c71a42
Commit
92c71a42
authored
Jun 22, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated to add parentheses
parent
363f7a57
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
app/assets/javascripts/gl_dropdown.js.coffee
app/assets/javascripts/gl_dropdown.js.coffee
+1
-1
app/assets/javascripts/project.js.coffee
app/assets/javascripts/project.js.coffee
+6
-6
No files found.
app/assets/javascripts/gl_dropdown.js.coffee
View file @
92c71a42
...
...
@@ -363,7 +363,7 @@ class GitLabDropdown
selector
=
".dropdown-page-one .dropdown-content"
$
(
selector
,
@
dropdown
)
.
empty
()
.
append
html
.
append
(
html
)
# Render the row
renderItem
:
(
data
,
group
=
false
,
index
=
false
)
->
...
...
app/assets/javascripts/project.js.coffee
View file @
92c71a42
...
...
@@ -71,17 +71,17 @@ class @Project
renderRow
:
(
ref
)
->
if
ref
.
header
?
$
(
'<li />'
)
.
addClass
'dropdown-header'
.
text
ref
.
header
.
addClass
(
'dropdown-header'
)
.
text
(
ref
.
header
)
else
link
=
$
(
'<a />'
)
.
attr
'href'
,
'#'
.
attr
(
'href'
,
'#'
)
.
addClass
(
if
ref
is
selected
then
'is-active'
else
''
)
.
text
ref
.
attr
'data-ref'
,
escape
(
ref
)
.
text
(
ref
)
.
attr
(
'data-ref'
,
escape
(
ref
)
)
$
(
'<li />'
)
.
append
link
.
append
(
link
)
id
:
(
obj
,
$el
)
->
$el
.
attr
(
'data-ref'
)
toggleLabel
:
(
obj
,
$el
)
->
...
...
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