diff --git a/content/multipledataset.html b/content/multipledataset.html index 3f2dc763..d90897c4 100644 --- a/content/multipledataset.html +++ b/content/multipledataset.html @@ -66,8 +66,8 @@ draft: false } async function loadFiles() { processingIndicator.isActive = true - var chks=[] - var chks = $("#form_datFiles > ul > ul > li >input[type=checkbox]:checked") + var chks = [] + var chks = $("#form_datFiles > ul > ul > li >input[type=checkbox]:checked") var proms = Array.from(chks).flatMap((c) => { switch (c.value) { case "abs": @@ -121,6 +121,8 @@ draft: false break; case "basis": return d.method.basis + case "DOI": + return d.DOI.string default: return d[$(this).attr("name")] break; @@ -129,25 +131,9 @@ draft: false var sets = await getSets() for (const val of vals) { if (val !== null) { - var op = $("