From 6572a5aec0da9ccb239e70e1340d8e66836a562c Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 18 May 2026 14:08:53 -0400 Subject: [PATCH] Bug 42638: Cannot delete an identity provider domain This patch updates the identity provider domain page so that clicking the "Delete" button from the list of existing identity providers works correctly. There's a lot of unfinished copy and paste from the SMTP servers page, including a missing chuck of modal dialog HTML. To test, apply the patch and go to Administration -> Identity providers. - If necessary, add at least one identity provider. - Click the "Manage domains" button for an identity provider. - If necessary, add at least one identity provider domain. - Click the delete button corresponding to the domain you added. - A confirmation modal should appear. - Clicking "Close" should close the modal without triggering any action. - Clicking "Delete" should delete the domain. Sponsored-by: Athens County Public Libraries Signed-off-by: Roman Dolny Signed-off-by: Laura_Escamilla Signed-off-by: Lucas Gass --- .../admin/identity_provider_domains.tt | 30 ++++++++++++++++--- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_provider_domains.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_provider_domains.tt index ded1c0d401..032c2bd130 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_provider_domains.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_provider_domains.tt @@ -321,6 +321,27 @@ + + + [% END %] [% END %] @@ -462,7 +483,7 @@ "" + "\n"; result += - '