Commit fbcb315d authored by THEO GUILLON's avatar THEO GUILLON
Browse files

Merge branch '348-supprimer-la-possibilite-de-cree-un-champ-avec-le-meme-id' into '1.2.0'

Resolve "supprimer la possibilité de crée un champ avec le meme id"

See merge request libriciel/pole-citoyens/web-DPO/web-DPO!313
parents 4f27bf47 dcafe314
......@@ -878,6 +878,11 @@ let createForm = function(typeCreateForm) {
return false;
}
if ($('#'+nameField) !== 0) {
alert('Un champ possède déjà ce nom de variable !');
return false;
}
return success;
}
......
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