Add datatables error message to error pop up

This commit is contained in:
Georg Lehner 2024-05-14 21:46:18 +02:00
parent 25f338cfc5
commit 95755125fb

View File

@ -342,7 +342,7 @@
$(document).ready(function () {
// Ticket DataTable Initialization
$.fn.dataTable.ext.errMode = function(settings, helpPage, message) {
alert("{% trans 'Error fetching tickets occured, please contact the system administrators of this server' %}")
alert("{% trans 'Error fetching tickets occured, please contact the system administrators of this server providing the message below:\n ' %}" + message)
};
$('#ticketTable').DataTable({
language: {