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
3c288250
Commit
3c288250
authored
May 26, 2020
by
Christian BUFFIN
Committed by
Théo GUILLON
May 28, 2020
Browse files
Correction: il n'était plus possible d'ajouter un champ de formulaire
parent
9651bbd2
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/webroot/js/FormulaireGenerator/createFormulaire.js
View file @
3c288250
...
...
@@ -878,7 +878,7 @@ let createForm = function(typeCreateForm) {
return
false
;
}
if
(
$
(
'
#
'
+
nameField
)
!==
0
)
{
if
(
$
(
'
#
'
+
nameField
)
.
length
!==
0
)
{
alert
(
'
Un champ possède déjà ce nom de variable !
'
);
return
false
;
}
...
...
@@ -1254,4 +1254,4 @@ let createForm = function(typeCreateForm) {
$
(
'
#
'
+
idBtnApplicable
).
closest
(
fieldOptions
).
find
(
'
input.nameForm
'
).
attr
(
'
readonly
'
,
true
);
}
};
\ No newline at end of file
};
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