Bugzilla – Attachment 187528 Details for
Bug 40777
500 Error: Something went wrong when loading the table Should Exit Cleanly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40777: Add info in the alert
Bug-40777-Add-info-in-the-alert.patch (text/plain), 1.86 KB, created by
Jonathan Druart
on 2025-10-07 14:18:22 UTC
(
hide
)
Description:
Bug 40777: Add info in the alert
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-10-07 14:18:22 UTC
Size:
1.86 KB
patch
obsolete
>From bfbbf7db9859bbdd20c2f629d8333a9519152163 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 7 Oct 2025 16:17:17 +0200 >Subject: [PATCH] Bug 40777: Add info in the alert > >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 ++ > koha-tmpl/intranet-tmpl/prog/js/datatables.js | 3 ++- > 2 files changed, 4 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index e60d7f494a4..62a70b071e2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -2382,6 +2382,8 @@ > $(".delete-comment").on("click", function(){ > return confirm( _("Are you sure you want to delete this comment?") ); > }); >+ >+ specific_dt_errors = _("Have a look at the 'Audit' button in the toolbar"); > </script> > [% CoverImagePlugins | $raw %] > [% END # /jsinclude %] >diff --git a/koha-tmpl/intranet-tmpl/prog/js/datatables.js b/koha-tmpl/intranet-tmpl/prog/js/datatables.js >index 3af04d2a160..7a42606c4bf 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/datatables.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/datatables.js >@@ -407,6 +407,7 @@ function filterDataTable(table, column, term) { > } > } > >+let specific_dt_errors = ""; > jQuery.fn.dataTable.ext.errMode = function (settings, note, message) { > if (settings && settings.jqXHR) { > console.log( >@@ -427,7 +428,7 @@ jQuery.fn.dataTable.ext.errMode = function (settings, note, message) { > .map(m => m.message) > .join("\n") > : "" >- ) >+ ) + specific_dt_errors > ); > } else { > alert(__("Something went wrong when loading the table.")); >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40777
:
187526
|
187527
| 187528