Bugzilla – Attachment 190263 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.90 KB, created by
David Nind
on 2025-12-06 13:02:02 UTC
(
hide
)
Description:
Bug 40777: Add info in the alert
Filename:
MIME Type:
Creator:
David Nind
Created:
2025-12-06 13:02:02 UTC
Size:
1.90 KB
patch
obsolete
>From 612821793a85a4df5a43ae7cd52308c0a0eb574b 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 > >Signed-off-by: David Nind <david@davidnind.com> >--- > 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 d4d084d006..05fc31cd74 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -2381,6 +2381,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 6ebe226e18..158549b977 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.39.5
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
|
188222
|
188223
|
188224
|
188225
|
188226
|
188227
|
189598
|
190261
|
190262
|
190263
|
190264
|
190265
|
190266
|
190267
|
190268
|
190269
|
190270
|
190884
|
190885
|
191603
|
191604
|
191605
|
191606
|
191607
|
191608
|
191609
|
191610
|
191611
|
191612
|
191613
|
191614
|
191615