mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 13:53:48 +01:00
Fix processingIndicator missing
This commit is contained in:
parent
4131a34a1c
commit
2a1c9520ee
@ -143,6 +143,7 @@ draft: false
|
||||
reloadCustomFiles()
|
||||
}
|
||||
async function reloadGeoms(){
|
||||
processingIndicator.isActive = true
|
||||
window.geoms = await GeometriesLoader.loadForAsync(uniq(window.defaultDats.map(d=>{
|
||||
return {
|
||||
set:d.set.name,
|
||||
@ -161,8 +162,10 @@ draft: false
|
||||
if (shownHunknow) {
|
||||
$("#cb_nHUnknow").parent().show()
|
||||
}
|
||||
processingIndicator.isActive = false
|
||||
}
|
||||
async function reloadCustomFiles() {
|
||||
processingIndicator.isActive = true
|
||||
window.dats = window.defaultDats;
|
||||
const kinds = new Map([["file_abs", VertExcitationKinds.Absorbtion], ["file_fluo", VertExcitationKinds.Fluorescence]])
|
||||
for (const el of $('#form_dat > fieldset > fieldset > div > input[type="file"')) {
|
||||
@ -173,6 +176,7 @@ draft: false
|
||||
}
|
||||
}
|
||||
}
|
||||
processingIndicator.isActive = false
|
||||
reloadSelect("sets")
|
||||
}
|
||||
async function clearSelect(BeforeName = null) {
|
||||
|
Loading…
Reference in New Issue
Block a user