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 () { $(document).ready(function () {
// Ticket DataTable Initialization // Ticket DataTable Initialization
$.fn.dataTable.ext.errMode = function(settings, helpPage, message) { $.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({ $('#ticketTable').DataTable({
language: { language: {