From 30158504b5267f225469216ea4aa0d123a8f5d8e Mon Sep 17 00:00:00 2001 From: Denise sur Lya Date: Fri, 26 Jun 2020 22:43:04 +0200 Subject: =?UTF-8?q?possibilit=C3=A9=20de=20saisir=20la=20date=20au=20forma?= =?UTF-8?q?t=20texte=20+=20export=20donn=C3=A9es=20en=20txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/requetes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'static/requetes.js') diff --git a/static/requetes.js b/static/requetes.js index 4442470..bf8d484 100644 --- a/static/requetes.js +++ b/static/requetes.js @@ -25,7 +25,7 @@ function appelle_image() var boutondl = document.getElementById("export_dl") ; - boutondl.setAttribute('onclick',"download_file('donnees_"+nomenfant+".json', 'application/json;charset=utf-8','"+encodeURIComponent(texte) +"')") + boutondl.setAttribute('onclick',"download_file('donnees_"+nomenfant+".txt', 'application/json;charset=utf-8','"+encodeURIComponent(texte) +"')") if(result == "success") @@ -106,4 +106,4 @@ function download_file(filename,mimetype,data) { function upload_file(data) { document.getElementById('form_import_donnees').submit(); -} \ No newline at end of file +} -- cgit v1.2.3