This commit is contained in:
parent
16b6f5047a
commit
31cd33f22b
|
@ -725,7 +725,7 @@
|
||||||
result.html(text);
|
result.html(text);
|
||||||
this.result_activate(result);
|
this.result_activate(result);
|
||||||
if (option.group_array_index != null) {
|
if (option.group_array_index != null) {
|
||||||
$("#" + this.results_data[option.group_array_index].dom_id).css('display', 'auto');
|
$("#" + this.results_data[option.group_array_index].dom_id).css('display', 'list-item');
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (this.result_highlight && result_id === this.result_highlight.attr('id')) {
|
if (this.result_highlight && result_id === this.result_highlight.attr('id')) {
|
||||||
|
|
2
chosen/chosen.jquery.min.js
vendored
2
chosen/chosen.jquery.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -728,7 +728,9 @@
|
||||||
}
|
}
|
||||||
this.result_activate($(result_id));
|
this.result_activate($(result_id));
|
||||||
if (option.group_array_index != null) {
|
if (option.group_array_index != null) {
|
||||||
$(this.results_data[option.group_array_index].dom_id).show();
|
$(this.results_data[option.group_array_index].dom_id).setStyle({
|
||||||
|
display: 'list-item'
|
||||||
|
});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if ($(result_id) === this.result_highlight) {
|
if ($(result_id) === this.result_highlight) {
|
||||||
|
|
2
chosen/chosen.proto.min.js
vendored
2
chosen/chosen.proto.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -416,7 +416,7 @@ class Chosen extends AbstractChosen
|
||||||
result.html(text)
|
result.html(text)
|
||||||
this.result_activate result
|
this.result_activate result
|
||||||
|
|
||||||
$("#" + @results_data[option.group_array_index].dom_id).css('display', 'auto') if option.group_array_index?
|
$("#" + @results_data[option.group_array_index].dom_id).css('display', 'list-item') if option.group_array_index?
|
||||||
else
|
else
|
||||||
this.result_clear_highlight() if @result_highlight and result_id is @result_highlight.attr 'id'
|
this.result_clear_highlight() if @result_highlight and result_id is @result_highlight.attr 'id'
|
||||||
this.result_deactivate result
|
this.result_deactivate result
|
||||||
|
|
|
@ -407,7 +407,7 @@ class Chosen extends AbstractChosen
|
||||||
|
|
||||||
this.result_activate $(result_id)
|
this.result_activate $(result_id)
|
||||||
|
|
||||||
$(@results_data[option.group_array_index].dom_id).show() if option.group_array_index?
|
$(@results_data[option.group_array_index].dom_id).setStyle({display: 'list-item'}) if option.group_array_index?
|
||||||
else
|
else
|
||||||
this.result_clear_highlight() if $(result_id) is @result_highlight
|
this.result_clear_highlight() if $(result_id) is @result_highlight
|
||||||
this.result_deactivate $(result_id)
|
this.result_deactivate $(result_id)
|
||||||
|
|
Loading…
Reference in a new issue