summaryrefslogtreecommitdiff
path: root/static/requetes.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/requetes.js')
-rw-r--r--static/requetes.js4
1 files changed, 2 insertions, 2 deletions
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()
25 25
26 26
27 var boutondl = document.getElementById("export_dl") ; 27 var boutondl = document.getElementById("export_dl") ;
28 boutondl.setAttribute('onclick',"download_file('donnees_"+nomenfant+".json', 'application/json;charset=utf-8','"+encodeURIComponent(texte) +"')") 28 boutondl.setAttribute('onclick',"download_file('donnees_"+nomenfant+".txt', 'application/json;charset=utf-8','"+encodeURIComponent(texte) +"')")
29 29
30 30
31 if(result == "success") 31 if(result == "success")
@@ -106,4 +106,4 @@ function download_file(filename,mimetype,data) {
106 106
107function upload_file(data) { 107function upload_file(data) {
108 document.getElementById('form_import_donnees').submit(); 108 document.getElementById('form_import_donnees').submit();
109} \ No newline at end of file 109}