10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 05:43:46 +01:00

Select automaticaly molecules when select sets

This commit is contained in:
Mickaël Véril 2020-01-29 17:53:37 +01:00
parent 6c5f082e3b
commit b0f1082ada

View File

@ -150,6 +150,10 @@ draft: false
if (!isLast) {
await reloadSelect(afters.prop("name"))
}
const fillArray=["molecule"]
if (fillArray.includes(afters.prop("name"))) {
selectSelectAll(afters.first())
}
var submit = $(e.target.form).find(':submit')
submit.prop("disabled", !isLast)