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