mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 05:43:46 +01:00
trigger("change") for selectSelectAll
This commit is contained in:
parent
17fff81183
commit
bc297ae40d
@ -1,8 +1,9 @@
|
||||
function selectSelectAll_click(e) {
|
||||
ctrl=$(e.target).next()
|
||||
if (ctrl.prop('type') == 'select-multiple' ) {
|
||||
ctrl.find("option").each(function() {
|
||||
const ctrl = $(e.target).next()
|
||||
if (ctrl.prop('type') == 'select-multiple') {
|
||||
ctrl.find("option").each(function () {
|
||||
$(this).attr('selected', 'selected');
|
||||
ctrl.trigger("change")
|
||||
});
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user