mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-25 17:24:51 +08:00
fix status selection as well
This commit is contained in:
parent
df43c4c15f
commit
5085e55f22
1 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,7 @@ var StatusColumnHelper = (function() {
|
|||
selectedOption = `<option value="${value.value}">${value.label}</option>`;
|
||||
}
|
||||
|
||||
return $(`<select
|
||||
return $(`<select
|
||||
id="${select}"
|
||||
data-placeholder = "${I18n.t('repositories.table.status.set_status')}"
|
||||
data-ajax-url = "${url}"
|
||||
|
@ -33,6 +33,7 @@ var StatusColumnHelper = (function() {
|
|||
dropdownSelector.init('#' + select, {
|
||||
singleSelect: true,
|
||||
selectAppearance: 'simple',
|
||||
closeOnSelect: true,
|
||||
onChange: function() {
|
||||
var values = dropdownSelector.getValues('#' + select);
|
||||
$hiddenField.val(values);
|
||||
|
|
Loading…
Reference in a new issue