mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 05:02:50 +08:00
Merge pull request #5858 from artoscinote/ma_SCI_8921
Fix updating repository checklist to a blank one [SCI-8921]
This commit is contained in:
commit
6b42524d04
1 changed files with 2 additions and 1 deletions
|
@ -48,7 +48,8 @@ var ChecklistColumnHelper = (function() {
|
|||
optionClass: 'checkbox-icon',
|
||||
selectAppearance: 'simple',
|
||||
onChange: function() {
|
||||
$hiddenField.val(JSON.stringify(dropdownSelector.getValues('#' + select)));
|
||||
let currentValues = dropdownSelector.getValues('#' + select);
|
||||
$hiddenField.val(currentValues.length ? JSON.stringify(currentValues) : null);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue