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
4e68502e
Commit
4e68502e
authored
Aug 03, 2020
by
Théo GUILLON
Browse files
Correction : du selecteur pour l'execution de la fonction
parent
0f0a29e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/View/Elements/Fiches/tabs/annexe.ctp
View file @
4e68502e
...
...
@@ -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();
...
...
Write
Preview
Markdown
is supported
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