mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-22 07:53:19 +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 () {
|
$(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: {
|
||||||
|
Loading…
Reference in New Issue
Block a user