diff --git a/public/js/signature.js b/public/js/signature.js index 0579a09..d1fb2e7 100644 --- a/public/js/signature.js +++ b/public/js/signature.js @@ -484,6 +484,10 @@ var createAndAddSvgInCanvas = function(canvas, item, x, y, height = null) { if(document.getElementById('save_mobile')) { document.getElementById('save_mobile').removeAttribute('disabled'); } + if(document.getElementById('btn_download')) { + document.getElementById('btn_download').classList.add('disabled'); + } + if(!height) { height = 100; diff --git a/templates/signature.html.php b/templates/signature.html.php index 4a86f49..aa61373 100644 --- a/templates/signature.html.php +++ b/templates/signature.html.php @@ -82,10 +82,10 @@ - Télécharger le PDF + Télécharger le PDF
- +