Append success message to tab instead of card body

This commit is contained in:
phl0
2025-01-30 15:56:14 +01:00
parent cd350d7fce
commit f26fc4fbfc

View File

@@ -21,10 +21,10 @@ function ExportClublog(station_id) {
$('#notcount'+value.station_id).html(value.notcount);
$('#totcount'+value.station_id).html(value.totcount);
});
$(".card-body").append('<div class="alert alert-success" role="alert">' + data.infomessage + '</div>');
$("#export").append('<div class="alert alert-success" role="alert">' + data.infomessage + '</div>');
}
else {
$(".card-body").append('<div class="alert alert-danger" role="alert">' + data.info + '</div>');
$("#export").append('<div class="alert alert-danger" role="alert">' + data.info + '</div>');
}
if (data.errormessages.length > 0) {