Commit 2b319d04 authored by mikkyhouse's avatar mikkyhouse

Merge pull request #828 from CedricGatay/feature/chosen_0.9.8_searchContains

Chosen 0.9.8 + Autocomplete contains
parents 9cd8f7b0 0bdcf2e1
...@@ -79,3 +79,13 @@ function showDiff(link) { ...@@ -79,3 +79,13 @@ function showDiff(link) {
$(link).next('table').show(); $(link).next('table').show();
$(link).remove(); $(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);
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment