From 2f808790ba343dd1120427c05f810f78d322430a Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 11 Apr 2022 17:04:34 +0000 Subject: [PATCH] Bug 30509: Fix configuration of Notices accordion widget The jQueryUI upgrade broke the Accordion on the notices edit page. I'm not sure why, but defining a "header" option in the accordion configuration fixes it. To test, apply the patch and test the notices edit page both with and without TranslateNotices and multiple languages installed. In both cases the different sections (Email, Print, SMS) should open and close correctly. Signed-off-by: Lucas Gass --- koha-tmpl/intranet-tmpl/prog/js/letter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/intranet-tmpl/prog/js/letter.js b/koha-tmpl/intranet-tmpl/prog/js/letter.js index 84e63c9d96..f543ab4c29 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/letter.js +++ b/koha-tmpl/intranet-tmpl/prog/js/letter.js @@ -129,6 +129,7 @@ $(document).ready(function() { }); $( ".transport-types" ).accordion({ + header: "h3", collapsible: true, active: parseInt( $("#section").val(), 10), animate: 200, -- 2.30.2