[UPDT] BASE: Added history for models using django audit log

This commit is contained in:
Horilla
2024-08-02 14:27:23 +05:30
parent 830a8471ba
commit 974f6f6805
5 changed files with 190 additions and 6 deletions

View File

@@ -441,7 +441,7 @@
$(document).on("htmx:beforeRequest", function (event, data) {
var response = event.detail.xhr.response;
var target = $(event.detail.elt.getAttribute("hx-target"));
var avoid_target = ["BiometricDeviceTestFormTarget","reloadMessages"];
var avoid_target = ["BiometricDeviceTestFormTarget","reloadMessages", "infinite"];
if (!target.closest("form").length && avoid_target.indexOf(target.attr("id")) === -1) {
target.html(`<div class="animated-background"></div>`);
}