X-Git-Url: https://git.immae.eu/?p=perso%2FDenise%2Foms.git;a=blobdiff_plain;f=static%2Frequetes.js;h=bf8d4844bfeaaf75ae618c62b211cc6505c66e45;hp=4442470ad43ad6d7fced5e2719e9535ac49ea28b;hb=30158504b5267f225469216ea4aa0d123a8f5d8e;hpb=54c718310ef31192271125987b82ed1c281a3911 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 +}