Skip to content

Commit

Permalink
Merge pull request #4958 from DataShades/select2-search-box-focus
Browse files Browse the repository at this point in the history
Show input field after select2 focus
  • Loading branch information
amercader committed Aug 29, 2019
2 parents 977fe00 + 89c51ac commit 11f64ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/public/base/vendor/select2/select2.js
Expand Up @@ -1989,7 +1989,7 @@ the specific language governing permissions and limitations under the Apache Lic
if (data.results.length === 0 && checkFormatter(opts.formatNoMatches, "formatNoMatches")) {
render("<li class='select2-no-results'>" + evaluate(opts.formatNoMatches, opts.element, search.val()) + "</li>");
if(this.showSearch){
this.showSearch(search.val());
this.showSearch(true);
}
return;
}
Expand Down

0 comments on commit 11f64ea

Please sign in to comment.