From b5f508e1dea79e26acf30248a4145afeb1cc3b2b 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. --- 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 3da3511cf12..9bb0f982ba0 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 5e319843062..576a9233983 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 d3a03bd9743..0f35a2cab8e 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.34.1