mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 09:42:46 +08:00
SCI-4202 add close param
This commit is contained in:
parent
da26d8a018
commit
df43c4c15f
1 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,7 @@ var ListColumnHelper = (function() {
|
|||
if (value && value.value) {
|
||||
selectedOption = `<option value="${value.value}">${value.label}</option>`;
|
||||
}
|
||||
return $(`<select
|
||||
return $(`<select
|
||||
id="${select}"
|
||||
data-placeholder = "${I18n.t('repositories.table.list.select_item')}"
|
||||
data-ajax-url = "${url}"
|
||||
|
@ -32,6 +32,7 @@ var ListColumnHelper = (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