Commit 146d8910 authored by THEO GUILLON's avatar THEO GUILLON
Browse files

Merge branch...

Merge branch '430-ajouter-une-alert-lorsque-l-aipd-est-obligatoire-ou-non-en-fonction-des-reponses-aux-questions' into '2.0.0'

Resolve "Ajouter une alert lorsque l'AIPD est obligatoire ou non en fonction des réponses aux questions dans l'onglet AIPD"

See merge request libriciel/pole-citoyens/web-DPO/web-DPO!431
parents 8b10867e cc0a5ac9
......@@ -198,7 +198,7 @@ function displayFieldRisque(showFirst = true)
let nbChecked = $("#info_pia :checkbox:checked").length;
if (nbChecked >= 2) {
if (showFirst === true) {
if (showFirst === true && nbChecked === 2) {
alert('La réalisation d\'une analyse d\'impact (AIPD) est OBLIGATOIRE');
}
$('#obligation_pia').val('1');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment