Fix select2 for redmine trunk

This commit is contained in:
Alexander Meindl 2024-05-14 16:11:28 +02:00
parent 26db5aba63
commit 71331a916e
2 changed files with 2 additions and 1 deletions

View File

@ -83,7 +83,7 @@ function setSelect2FilterValues(field, options, values) {
function addSelectTag(field) { function addSelectTag(field) {
var fieldId = sanitizeToId(field); var fieldId = sanitizeToId(field);
$('#tr_' + fieldId).find('td.values').append( $('#tr_' + fieldId).find('.values').append(
'<span style="display: none;"><select class="value" id="values_'+fieldId+'_1" name="v['+field+'][]"></select></span>' '<span style="display: none;"><select class="value" id="values_'+fieldId+'_1" name="v['+field+'][]"></select></span>'
); );
} }

View File

@ -402,6 +402,7 @@
.filter .select2 { .filter .select2 {
margin: 1px; margin: 1px;
min-width: 200px;
} }
.filter .select2-selection--multiple .select2-search--inline .select2-search__field { .filter .select2-selection--multiple .select2-search--inline .select2-search__field {