Commit dcafe314 authored by Théo GUILLON's avatar Théo GUILLON
Browse files

Correction : vérification de l'id du champ qui va être crée n'existe pas

parent 4f27bf47
......@@ -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