mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 05:43:46 +01:00
reloadCustomFiles is now a separate function
This commit is contained in:
parent
976a56adac
commit
c193e23359
@ -87,8 +87,7 @@ draft: false
|
||||
processingIndicator.isActive = false
|
||||
await reloadSelect()
|
||||
}
|
||||
|
||||
async function reloadSelect() {
|
||||
async function reloadCustomFiles() {
|
||||
window.dats = window.defaultDats;
|
||||
const kinds=new Map([["file_abs", VertExcitationKinds.Absorbtion], ["file_fluo", VertExcitationKinds.Fluorescence]])
|
||||
for (const el of $('#form_dat > fieldset > div > input[type="file"')) {
|
||||
@ -99,6 +98,9 @@ draft: false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
async function reloadSelect() {
|
||||
reloadCustomFiles()
|
||||
$('#form_dat > fieldset > div > select,#sel_ref').each(function () {
|
||||
$(this).empty()
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user