From 31b2305170cd5a0988216cae5b28803b2983eaff 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 Signed-off-by: Martin Renvoize --- 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.20.1