mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 10:06:07 +01:00
bugfix
This commit is contained in:
@@ -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='';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user