mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-21 23:43:11 +01:00
Add datatables error message to error pop up
This commit is contained in:
parent
25f338cfc5
commit
95755125fb
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user