From ddf31271401c42740e6cf670e88a2238abe27740 Mon Sep 17 00:00:00 2001 From: ralf Date: Sat, 30 Mar 2024 08:31:08 +0200 Subject: [PATCH] WIP allow to place custom-fields in tabs: need to explicit content attribute, as it no longer defaults to value of id attribute fixed preferences of apps with a single tab only are broken / not shown, e.g. notifications or timesheet --- preferences/inc/class.preferences_settings.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/preferences/inc/class.preferences_settings.inc.php b/preferences/inc/class.preferences_settings.inc.php index 3219676534..516143a495 100644 --- a/preferences/inc/class.preferences_settings.inc.php +++ b/preferences/inc/class.preferences_settings.inc.php @@ -618,6 +618,7 @@ class preferences_settings $tpl->setElementAttribute('tabs', 'extraTabs', array( array( 'id' => 'tab1', + 'content' => 'tab1', 'template' => 'preferences.settings.tab1', 'label' => 'general settings' )));