mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-08-26 06:01:49 +02:00
Disable file input at startup
This commit is contained in:
parent
eeec67f5f0
commit
527ec70e06
@ -47,7 +47,9 @@ draft: false
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
function reloadFileSelector(){
|
function reloadFileSelector(){
|
||||||
document.getElementById("customFiles_input").value = ""
|
const fsel=document.getElementById("customFiles_input")
|
||||||
|
fsel.value=""
|
||||||
|
fsel.disabled=false
|
||||||
}
|
}
|
||||||
|
|
||||||
async function reloadSelect(){
|
async function reloadSelect(){
|
||||||
@ -273,7 +275,7 @@ draft: false
|
|||||||
<label for="zpe">\(\Delta \text{ZPE}\)</label>
|
<label for="zpe">\(\Delta \text{ZPE}\)</label>
|
||||||
<br/>
|
<br/>
|
||||||
<label for="customFiles">Add custom data file</label>
|
<label for="customFiles">Add custom data file</label>
|
||||||
<input type="file" multiple onchange="reloadSelect()" id="customFiles_input"></input>
|
<input type="file" multiple onchange="reloadSelect()" id="customFiles_input" disabled=true></input>
|
||||||
<br/>
|
<br/>
|
||||||
<label for="mol_select">Molecule</label>
|
<label for="mol_select">Molecule</label>
|
||||||
<select multiple id="mol_select" onchange="reloadContent()" name="molecule"></select>
|
<select multiple id="mol_select" onchange="reloadContent()" name="molecule"></select>
|
||||||
|
Loading…
Reference in New Issue
Block a user