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

Correction : du selecteur pour l'execution de la fonction

parent 0f0a29e6
......@@ -251,8 +251,6 @@
.append('<td class="col-md-4 tdleft">'+ content[key].optionType +'<\/td>')
.append('<td class="col-md-2"><button type="button" class="btn btn-warning" onclick=\"deleteFile(\'' + content[key].filename + '\',\'' + key + '\')\"><i class="fa fa-times-circle"><!----><\/i> Annuler<\/button><\/td>')
$('#render').find('tbody').append(tr);
changeValueFieldsAIPD();
}
} catch (e) {
// alert("error");
......@@ -271,7 +269,7 @@
});
function changeValueFieldsAIPD() {
$('.typeAnnexeSelected').on('change', function () {
$(document).on("change", ".typeAnnexeSelected",function() {
if ($(this).find('option:selected').text() === 'AIPD') {
let realisationAIPD = $('#realisation_pia').val();
let depotAIPD = $('#depot_pia').val();
......
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