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 <oleonard@myacpl.org>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Jonathan Druart 2020-04-20 11:13:40 +02:00 committed by Martin Renvoize
parent 82090e2673
commit 74b8c05cfb
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -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 %]