View | Details | Raw Unified | Return to bug 40777
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (+2 lines)
Lines 2382-2387 Link Here
2382
        $(".delete-comment").on("click", function(){
2382
        $(".delete-comment").on("click", function(){
2383
            return confirm( _("Are you sure you want to delete this comment?") );
2383
            return confirm( _("Are you sure you want to delete this comment?") );
2384
        });
2384
        });
2385
2386
        specific_dt_errors = _("Have a look at the 'Audit' button in the toolbar");
2385
    </script>
2387
    </script>
2386
    [% CoverImagePlugins | $raw %]
2388
    [% CoverImagePlugins | $raw %]
2387
[% END # /jsinclude %]
2389
[% END # /jsinclude %]
(-)a/koha-tmpl/intranet-tmpl/prog/js/datatables.js (-2 / +2 lines)
Lines 407-412 function filterDataTable(table, column, term) { Link Here
407
    }
407
    }
408
}
408
}
409
409
410
let specific_dt_errors = "";
410
jQuery.fn.dataTable.ext.errMode = function (settings, note, message) {
411
jQuery.fn.dataTable.ext.errMode = function (settings, note, message) {
411
    if (settings && settings.jqXHR) {
412
    if (settings && settings.jqXHR) {
412
        console.log(
413
        console.log(
Lines 427-433 jQuery.fn.dataTable.ext.errMode = function (settings, note, message) { Link Here
427
                          .map(m => m.message)
428
                          .map(m => m.message)
428
                          .join("\n")
429
                          .join("\n")
429
                    : ""
430
                    : ""
430
            )
431
            ) + specific_dt_errors
431
        );
432
        );
432
    } else {
433
    } else {
433
        alert(__("Something went wrong when loading the table."));
434
        alert(__("Something went wrong when loading the table."));
434
- 

Return to bug 40777