From f032b44076f87e4bf937520cf78af715f1c5fb97 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Sat, 25 Jan 2025 15:36:25 +0000 Subject: [PATCH] Bug 38968: Identity providers "More" controls broken after Bootstrap 5 upgrade This patch corrects the data attribute on "More" buttons which were incorrectly updated during the Bootstrap 5 upgrade. "data-bs-target" is corrected to "data-target." Also fixed are instances of a misspelled class, "ligth" -> "light" To test, apply the patch and go to Administration -> Identity providers. - Click "New identity provider." - In the "Advanced configuration" section, test the "More" buttons underneath the textareas. Clicking them should expand the hidden help text and hide the button. - Perform the same test when updating an identity provider. Sponsored-by: Athens County Public Libraries Signed-off-by: David Nind --- .../en/modules/admin/identity_providers.tt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_providers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_providers.tt index 3099c50c03..74c909eb2c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_providers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_providers.tt @@ -123,20 +123,20 @@ Required -
Provider's main configuration.
+
Provider's main configuration.
- +
  • Required -
    Map provider's result to Koha patron's fields.
    +
    Map provider's result to Koha patron's fields.
    - +
  • @@ -288,20 +288,20 @@ Required -
    Provider's main configuration.
    +
    Provider's main configuration.
    - +
  • Required -
    Map provider's result to Koha patron's fields.
    +
    Map provider's result to Koha patron's fields.
    - +
  • @@ -517,7 +517,7 @@ $('button.more').on('click', function(event) { event.preventDefault(); var target = $(this).hide().data('target'); - $('.more-'+target).show(); + $('.more-' + target).show(); }); $('#code').rules('add', { -- 2.39.5