bug fix in read.php, bump version in footer, NEW: bulk delete

This commit is contained in:
giandonato.inverso@edempg.it
2024-04-18 20:33:20 +02:00
parent 5bdcb8e2bf
commit 096c239715
9 changed files with 129 additions and 57 deletions
+7 -3
View File
@@ -459,7 +459,7 @@
});
const data = {
action: 'download',
action: $('select[name=action]').val(),
params: params,
type: $('input[name=type]').val()
}
@@ -472,8 +472,12 @@
contentType: 'application/json',
success: (res) => {
if (res.status == 200) {
window.location.href = res.data;
$('#err-msg').css('display', 'none');
if(data["action"] === "download") {
window.location.href = res.data;
$('#err-msg').css('display', 'none');
} else if(data["action"] === "delete") {
location.reload();
}
}
if (res.status == 400) {