Pass proper input element

This commit is contained in:
Alfredo Sumaran 2016-03-23 19:43:57 -05:00
parent 0dff7b4444
commit 8f2587c2ee

View file

@ -136,11 +136,8 @@ class GitLabDropdown
# Init filterable
if @options.filterable
@input = @dropdown.find('.dropdown-input .dropdown-input-field')
@filter = new GitLabDropdownFilter @input,
@filter = new GitLabDropdownFilter @filterInput,
filterInputBlur: @filterInputBlur
input: @filterInput
remote: @options.filterRemote
query: @options.data
keys: @options.search.fields