BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
187f1c41
Commit
187f1c41
authored
Mar 23, 2016
by
Alfredo Sumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add param to skip enterCallback
parent
d7350dea
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
gl_dropdown.js.coffee
app/assets/javascripts/gl_dropdown.js.coffee
+2
-0
search_autocomplete.js.coffee
app/assets/javascripts/search_autocomplete.js.coffee
+1
-0
No files found.
app/assets/javascripts/gl_dropdown.js.coffee
View file @
187f1c41
...
@@ -108,6 +108,7 @@ class GitLabDropdown
...
@@ -108,6 +108,7 @@ class GitLabDropdown
@
filterInput
=
@
getElement
(
FILTER_INPUT
)
@
filterInput
=
@
getElement
(
FILTER_INPUT
)
@
highlight
=
false
@
highlight
=
false
@
filterInputBlur
=
true
@
filterInputBlur
=
true
@
enterCallback
=
true
}
=
@
options
}
=
@
options
self
=
@
self
=
@
...
@@ -147,6 +148,7 @@ class GitLabDropdown
...
@@ -147,6 +148,7 @@ class GitLabDropdown
@
parseData
data
@
parseData
data
@
highlightRow
1
@
highlightRow
1
enterCallback
:
=>
enterCallback
:
=>
if
@
enterCallback
@
selectFirstRow
()
@
selectFirstRow
()
# Event listeners
# Event listeners
...
...
app/assets/javascripts/search_autocomplete.js.coffee
View file @
187f1c41
...
@@ -56,6 +56,7 @@ class @SearchAutocomplete
...
@@ -56,6 +56,7 @@ class @SearchAutocomplete
filterable
:
true
filterable
:
true
filterRemote
:
true
filterRemote
:
true
highlight
:
true
highlight
:
true
enterCallback
:
false
filterInput
:
'input#search'
filterInput
:
'input#search'
search
:
search
:
fields
:
[
'text'
]
fields
:
[
'text'
]
...
...
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