Lazy-load logs on event dashboard

This commit is contained in:
Raphael Michel
2021-05-11 17:48:56 +02:00
parent ce2da4ee99
commit 972f4646fa
7 changed files with 142 additions and 99 deletions

View File

@@ -11,3 +11,12 @@ $(function () {
});
});
});
$(function () {
if ($("#logs_target").length == 0) {
return;
}
$.get("logs/embed", function (data) {
$("#logs_target").html(data)
add_log_expand_handlers($("#logs_target"))
});
});