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
2b319d04
Commit
2b319d04
authored
May 17, 2012
by
mikkyhouse
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #828 from CedricGatay/feature/chosen_0.9.8_searchContains
Chosen 0.9.8 + Autocomplete contains
parents
9cd8f7b0
0bdcf2e1
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
226 additions
and
165 deletions
+226
-165
app/assets/javascripts/application.js
app/assets/javascripts/application.js
+10
-0
vendor/assets/javascripts/chosen.js
vendor/assets/javascripts/chosen.js
+216
-165
No files found.
app/assets/javascripts/application.js
View file @
2b319d04
...
...
@@ -79,3 +79,13 @@ function showDiff(link) {
$
(
link
).
next
(
'
table
'
).
show
();
$
(
link
).
remove
();
}
(
function
(
$
){
var
_chosen
=
$
.
fn
.
chosen
;
$
.
fn
.
extend
({
chosen
:
function
(
options
)
{
var
default_options
=
{
'
search_contains
'
:
'
true
'
};
$
.
extend
(
default_options
,
options
);
return
_chosen
.
apply
(
this
,
[
default_options
]);
}})
})(
jQuery
);
vendor/assets/javascripts/chosen.js
View file @
2b319d04
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