From c854580e90f934bab6361bc3d8f72101f578dbfb Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 13 Nov 2020 21:36:34 +0000 Subject: [PATCH] Revert "Bug 26619: Cart - The "Print" button is only translated when you are in "More details" mode" This reverts commit e47f2132add2b132806caeeff1631059b0f1cba8. Signed-off-by: Lucas Gass --- koha-tmpl/opac-tmpl/bootstrap/js/datatables.js | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/js/datatables.js b/koha-tmpl/opac-tmpl/bootstrap/js/datatables.js index 8ef91f1dfb..047fa4c438 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/js/datatables.js +++ b/koha-tmpl/opac-tmpl/bootstrap/js/datatables.js @@ -21,16 +21,7 @@ var dataTablesDefaults = { "loadingRecords" : window.MSG_DT_LOADING_RECORDS || "Loading...", "processing" : window.MSG_DT_PROCESSING || "Processing...", "search" : window.MSG_DT_SEARCH || "Search:", - "zeroRecords" : window.MSG_DT_ZERO_RECORDS || "No matching records found", - buttons: { - "copyTitle" : window.MSG_DT_COPY_TO_CLIPBOARD || "Copy to clipboard", - "copyKeys" : window.MSG_DT_COPY_KEYS || "Press ctrl or ⌘ + C to copy the table data
to your system clipboard.

To cancel, click this message or press escape.", - "copySuccess": { - _: window.MSG_DT_COPIED_ROWS || "Copied %d rows to clipboard", - 1: window.MSG_DT_COPIED_ONE_ROW || "Copied one row to clipboard", - }, - "print": __("Print") - } + "zeroRecords" : window.MSG_DT_ZERO_RECORDS || "No matching records found" }, // "sorting": [$(" - select row position of th -")], "dom": 't', @@ -225,4 +216,4 @@ jQuery.fn.dataTable.ext.errMode = function(settings, note, message) { return $(this).dataTable(settings); }; -})(jQuery); +})(jQuery); \ No newline at end of file -- 2.39.5