10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 13:53:48 +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) { if (!isLast) {
await reloadSelect(afters.prop("name")) await reloadSelect(afters.prop("name"))
} }
const fillArray=["molecule"]
if (fillArray.includes(afters.prop("name"))) {
selectSelectAll(afters.first())
}
var submit = $(e.target.form).find(':submit') var submit = $(e.target.form).find(':submit')
submit.prop("disabled", !isLast) submit.prop("disabled", !isLast)