From 3b5ee9d81d584aa33348d99831500e8d97d75c96 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 20 Apr 2020 11:13:40 +0200 Subject: [PATCH] Bug 25186: Fix accordion sections height in columns configuration page The height for each section was the height of the highest section. Now the height is set to the length of the section. Test plan: Go to Administration > Column configuration Open the sections and confirm that the height fits its content. QA: note that I guess "autoHeight: false" was meant to acchieve that, but it does not exist in the API of the plugin. Signed-off-by: Owen Leonard --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt index 125c6dc6bd..b16807f702 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt @@ -206,7 +206,7 @@ $(document).ready( function() { var accordion = $( "#modules" ).accordion({ collapsible: true, - autoHeight: false, + heightStyle: "content", header: "h3", [%- IF panel -%] [%# we were asked to show a specific panel, usually on update %] -- 2.11.0