This commit is contained in:
Nic Limper
2023-02-01 19:46:59 +01:00
parent a0f7c84d30
commit 54d6c70249

View File

@@ -131,19 +131,6 @@ function updatecards() {
})
}
$('#send_fw').onclick = function () {
let formData = new FormData();
formData.append("dst", $("#dstmac").value);
formData.append("filename", $("#fwfile").value);
fetch("/send_fw", {
method: "POST",
body: formData
})
.then(response => response.text())
.then(data => showMessage(data))
.catch(error => showMessage('Error: ' + error));
}
$('#clearlog').onclick = function () {
$('#messages').innerHTML='';
}