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

Correction : suppresion de l'affichage de la condition

parent 3d3aa3cd
......@@ -743,6 +743,7 @@ var createForm = function(typeCreateForm) {
if (conditionsTextuelle != '') {
$('#allConditionsDelete').html(conditionsTextuelle);
$('#allConditionsDelete').html(conditionsTextuelle);
$('#modalWarningDeleteConditions').modal('show');
......@@ -824,12 +825,13 @@ var createForm = function(typeCreateForm) {
$.each(conditions, function (key, value) {
if (condition_id == key) {
delete conditions[key];
$('#'+key).closest('p').remove();
return false;
}
});
}
$(idContainer).find('.ui-selected').attr('data-virtual-conditions', JSON.stringify(conditions));
$('#'+condition_id).parent().remove();
});
}
......
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