From 5fb7e19c7311486a8777a3307c0a70ae9c6a6c51 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 Signed-off-by: Joy Nelson (cherry picked from commit 8641888fa3c2dd460a1cf62855dc65bc1448682c) Signed-off-by: Lucas Gass --- .../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..d42f6a10db 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,8 +206,8 @@ $(document).ready( function() { var accordion = $( "#modules" ).accordion({ collapsible: true, - autoHeight: false, header: "h3", + heightStyle: "content", [%- IF panel -%] [%# we were asked to show a specific panel, usually on update %] active: [%- panel | html -%] -- 2.20.1