diff --git a/html/saraR4.html b/html/saraR4.html index b4eb244..c2f1493 100755 --- a/html/saraR4.html +++ b/html/saraR4.html @@ -481,6 +481,8 @@ function getData_saraR4(port, command, timeout){ console.log(safeCommand); $("#loading_"+port+"_"+safeCommand).show(); + $("#response_"+port+"_"+safeCommand).empty(); + $.ajax({ url: 'launcher.php?type=sara&port='+port+'&command='+encodeURIComponent(command)+'&timeout='+timeout, @@ -721,6 +723,7 @@ function setURL_saraR4(port, url){ function ping_test(port, url){ console.log("Test ping to data.nebuleair.fr:"); + $("#response_ping").empty(); $("#loading_ping").show(); $.ajax({ url: 'launcher.php?type=sara_ping',