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
Jérome Perrin
gitlab-ce
Commits
1983eb6c
Commit
1983eb6c
authored
8 years ago
by
Alfredo Sumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
camelCase param name
parent
8f29c332
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
app/assets/javascripts/protected_branch_dropdown.js.es6
app/assets/javascripts/protected_branch_dropdown.js.es6
+4
-4
No files found.
app/assets/javascripts/protected_branch_dropdown.js.es6
View file @
1983eb6c
...
@@ -26,11 +26,11 @@ class ProtectedBranchDropdown {
...
@@ -26,11 +26,11 @@ class ProtectedBranchDropdown {
return (selected && 'id' in selected) ? selected.title : 'Protected Branch';
return (selected && 'id' in selected) ? selected.title : 'Protected Branch';
},
},
fieldName: 'protected_branch[name]',
fieldName: 'protected_branch[name]',
text(protected
_b
ranch) {
text(protected
B
ranch) {
return _.escape(protected
_b
ranch.title);
return _.escape(protected
B
ranch.title);
},
},
id(protected
_b
ranch) {
id(protected
B
ranch) {
return _.escape(protected
_b
ranch.id);
return _.escape(protected
B
ranch.id);
},
},
onFilter: this.toggleCreateNewButton.bind(this),
onFilter: this.toggleCreateNewButton.bind(this),
clicked: (item, $el, e) => {
clicked: (item, $el, e) => {
...
...
This diff is collapsed.
Click to expand it.
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