From 74b8c05cfb72146c738d41e88da13346c47d4d22 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 achieve that, but it does not exist in the API of the plugin. Signed-off-by: Owen Leonard Signed-off-by: Josef Moravec Signed-off-by: Martin Renvoize --- .../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 d88804a263..db421ced84 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 @@ -226,7 +226,7 @@ $(document).ready( function() { var accordion = $( "#modules" ).accordion({ collapsible: true, - autoHeight: false, + heightStyle: "content", header: ".panel_header", [%- IF panel -%] [%# we were asked to show a specific panel, usually on update %]