Import initial de Vivier depuis l'hebergement OVH
This commit is contained in:
commit
839e5e57c5
126 files changed
+22447
No files matched your search
@@ -0,0 +1,12 @@
|
||||
document.getElementById('imprimer').addEventListener('click', function () {
|
||||
window.print();
|
||||
});
|
||||
|
||||
// Envoi long (traduction) : le bouton annonce l'attente et empêche un second envoi
|
||||
document.querySelectorAll('form[data-attente]').forEach(function (form) {
|
||||
form.addEventListener('submit', function () {
|
||||
var bouton = form.querySelector('button[type="submit"]');
|
||||
bouton.disabled = true;
|
||||
bouton.textContent = form.dataset.attente;
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user