mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-11-04 13:13:55 +01:00
clearSelect is now a separate function
This commit is contained in:
parent
c193e23359
commit
17fff81183
@ -99,11 +99,14 @@ draft: false
|
||||
}
|
||||
}
|
||||
}
|
||||
async function reloadSelect() {
|
||||
reloadCustomFiles()
|
||||
async function clearSelect() {
|
||||
$('#form_dat > fieldset > div > select,#sel_ref').each(function () {
|
||||
$(this).empty()
|
||||
})
|
||||
}
|
||||
async function reloadSelect() {
|
||||
reloadCustomFiles()
|
||||
clearSelect()
|
||||
$('#form_dat > fieldset > div > select').each(async function () {
|
||||
const vals = uniq(window.dats.map((d) => {
|
||||
switch ($(this).attr("name")) {
|
||||
|
Loading…
Reference in New Issue
Block a user