.
This commit is contained in:
@@ -12,6 +12,14 @@ window.control_pressed = false;
|
||||
|
||||
|
||||
$(document).ready(function () {
|
||||
document.body.addEventListener("htmx:responseError", function(e) {
|
||||
error = e.detail.xhr.response;
|
||||
e = document.getElementById("htmx-error");
|
||||
e.innerHTML = error;
|
||||
e.classList.remove("hidden");
|
||||
});
|
||||
|
||||
|
||||
$("table thead th input").click((e) => {
|
||||
let status = e.currentTarget.checked;
|
||||
$("table tbody input").prop("checked", status);
|
||||
|
||||
Reference in New Issue
Block a user