diff --git a/module/dialog-stress.js b/module/dialog-stress.js index 210b9918..cc136977 100644 --- a/module/dialog-stress.js +++ b/module/dialog-stress.js @@ -46,9 +46,9 @@ export class DialogStress extends Dialog { validerStress() { - this.dialogData.motif = $("[name='motif']").val(); - this.dialogData.stress = $("[name='stress']").val(); - this.dialogData.immediat = $("[name='immediat']").prop("checked");; + this.dialogData.motif = $("form.rdddialogstress input[name='motif']").val(); + this.dialogData.stress = $("form.rdddialogstress input[name='stress']").val(); + this.dialogData.immediat = $("form.rdddialogstress input[name='immediat']").prop("checked");; } /* -------------------------------------------- */ diff --git a/templates/dialog-stress.html b/templates/dialog-stress.html index 4273ab70..12a6608f 100644 --- a/templates/dialog-stress.html +++ b/templates/dialog-stress.html @@ -1,4 +1,4 @@ -
+