Commit 945258ee authored by THEO GUILLON's avatar THEO GUILLON

Merge branch '400-ajout-annexes-impossible' into '2.0.0'

Resolve "Ajout annexes impossible"

See merge request libriciel/pole-citoyens/web-DPO/web-DPO!440
parents 0723bb32 7735d145
......@@ -388,6 +388,13 @@ echo $this->WebcilForm->end();
$(a).append("<span class='fa fa-exclamation-circle fa-danger' aria-hidden='true'><\/span>");
});
let errorAnnexe = <?php echo json_encode($this->validationErrors['Fichier']); ?>;
if (errorAnnexe.length !== 0) {
let aAnnexe = $('a[href="#annexe"]');
$(aAnnexe).parent().addClass("form-error");
$(aAnnexe).append("<span class='fa fa-exclamation-circle fa-danger' aria-hidden='true'><\/span>");
}
// Mask champs
// Information sur le rédacteur
$('#declarantpersonneportable').mask('00 00 00 00 00', {
......
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