Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Libriciel
web-DPO
Commits
cc0a5ac9
Commit
cc0a5ac9
authored
Aug 13, 2020
by
Théo GUILLON
Browse files
Correction : affichage de la pop-up que lorsqu'il y a deux cases de coché
parent
8b10867e
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/webroot/js/Fiches/pia.js
View file @
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
'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment