From a9251c6898b9e2fbb91aac4fac87eb9993697297 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 1 Oct 2024 11:42:07 +0200 Subject: [PATCH] Bug 38049: Remove tooltip call from DT Not really sure why we had this line, but Owen decided to remove it when upgrading to Bootstrap5. So let's remove them from the other files as well. Waiting for Owen to confirm this one. Signed-off-by: David Nind --- koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc | 2 -- koha-tmpl/intranet-tmpl/prog/js/datatables.js | 2 -- koha-tmpl/intranet-tmpl/prog/js/vue/components/KohaTable.vue | 4 ---- 3 files changed, 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc index 3da3511cf1..9bb0f982ba 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc @@ -230,8 +230,6 @@ function KohaTable(id_selector, dt_parameters, table_settings, add_filters) { deactivate_filters(id_selector); } - $(".dt_button_clear_filter, .columns_controls, .export_controls, .dt_button_configure_table").tooltip(); - return table; } diff --git a/koha-tmpl/intranet-tmpl/prog/js/datatables.js b/koha-tmpl/intranet-tmpl/prog/js/datatables.js index 5e31984306..576a923398 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/datatables.js +++ b/koha-tmpl/intranet-tmpl/prog/js/datatables.js @@ -979,8 +979,6 @@ function _dt_add_delay(table_dt, table_node, delay_ms) { settings["buttons"] = _dt_buttons({included_ids, settings, table_settings}); - // $(".dt_button_clear_filter, .columns_controls, .export_controls, .dt_button_configure_table").tooltip(); - if ( add_filters ) { settings['orderCellsTop'] = true; } diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/KohaTable.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/KohaTable.vue index d3a03bd974..0f35a2cab8 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/KohaTable.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/KohaTable.vue @@ -135,10 +135,6 @@ export default { ] } - $( - ".dt_button_clear_filter, .columns_controls, .export_controls, .dt_button_configure_table" - ).tooltip() - if (this.add_filters) { this.options.orderCellsTop = true } -- 2.39.5