changes to .coffee file instead
This commit is contained in:
parent
91502810c9
commit
acf540ff21
|
@ -27,7 +27,7 @@ class AbstractChosen
|
|||
@results_showing = false
|
||||
@result_highlighted = null
|
||||
@result_single_selected = null
|
||||
@allow_single_deselect = if @options.allow_single_deselect? and @form_field.options[0].text == "" then @options.allow_single_deselect else false
|
||||
@allow_single_deselect = if @options.allow_single_deselect? and @form_field.options[0] and @form_field.options[0].text == "" then @options.allow_single_deselect else false
|
||||
@disable_search_threshold = @options.disable_search_threshold || 0
|
||||
@choices = 0
|
||||
@results_none_found = @options.no_results_text or "No results match"
|
||||
|
|
Loading…
Reference in a new issue