diff options
-rwxr-xr-x | javascript/ajax.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript/ajax.js b/javascript/ajax.js index 3a8b4eb..2120bbb 100755 --- a/javascript/ajax.js +++ b/javascript/ajax.js @@ -6,7 +6,7 @@ function ajax(session) //on définit l'appel de la fonction au retour serveur xhr.onreadystatechange = function() { alert_ajax(xhr, session); }; - xhr.open("GET", "ram/" + session + "/streamstatus.php", true); + xhr.open("GET", "streamstatus.php?session=" + session, true); xhr.send(null); } |