Fix select2 for redmine trunk
This commit is contained in:
parent
26db5aba63
commit
71331a916e
@ -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>'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user