From eea50d7d6bcc47688b87731dd40ceaa4cb8d3f58 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 4 Nov 2024 16:45:02 +0100 Subject: [PATCH] CustomVarTable: Let the user subgroups fully collapse resolves #5256 --- .../library/Monitoring/Web/Widget/CustomVarTable.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/monitoring/library/Monitoring/Web/Widget/CustomVarTable.php b/modules/monitoring/library/Monitoring/Web/Widget/CustomVarTable.php index b4273b583a..a084471670 100644 --- a/modules/monitoring/library/Monitoring/Web/Widget/CustomVarTable.php +++ b/modules/monitoring/library/Monitoring/Web/Widget/CustomVarTable.php @@ -224,7 +224,8 @@ protected function assemble() if ($this->headerTitle !== null) { $this->getAttributes() ->add('class', 'collapsible') - ->add('data-visible-height', 100) + ->add('data-visible-height', 0) + ->add('data-state-collapses', true) ->add('data-toggle-element', 'thead') ->add( 'id',