From 8a360432d95878d425fe11ebc4f060f67df97edd Mon Sep 17 00:00:00 2001 From: erichard <elliot.richard@lal.in2p3.fr> Date: Fri, 15 Nov 2019 09:54:23 +0100 Subject: [PATCH] Commenter la fonction AJAX --- app/static/js/ajax.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/static/js/ajax.js b/app/static/js/ajax.js index 605447c..8c24951 100644 --- a/app/static/js/ajax.js +++ b/app/static/js/ajax.js @@ -1,8 +1,13 @@ /** - * Functions for send ajax request with differents methods. + * Functions for send ajax request with differents methods. */ function send_simple_request(address) { +/* + Return response to request send at address on the web-server + :param address: String + :return: (JSON) String +*/ var xhr = new XMLHttpRequest(); xhr.open("GET", address, false); xhr.send(); -- GitLab