From b35d2d3f3443bb56f7d013fed86c5657b71244a1 Mon Sep 17 00:00:00 2001 From: Fabian Schmid Date: Mon, 16 Feb 2026 09:01:03 +0100 Subject: [PATCH 1/2] [FIX] 0045264: UI/SystemInfo: JS errors on every page on test10.ilias.de related to the "More" button in the MainBar --- components/ILIAS/UI/resources/js/MainControls/system_info.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ILIAS/UI/resources/js/MainControls/system_info.js b/components/ILIAS/UI/resources/js/MainControls/system_info.js index dfae4a6f2a38..96c50897dab5 100755 --- a/components/ILIAS/UI/resources/js/MainControls/system_info.js +++ b/components/ILIAS/UI/resources/js/MainControls/system_info.js @@ -19,7 +19,7 @@ il.UI.maincontrols = il.UI.maincontrols || {}; maybeShowMoreButton(item, more_button); $(window).resize(() => { if (!calculating) { - maybeShowMoreButton(item); + maybeShowMoreButton(item, more_button); } }); }; From 75578408730bf9529b345f61c2073f8dbe02cc02 Mon Sep 17 00:00:00 2001 From: Thibeau Fuhrer Date: Mon, 16 Feb 2026 13:36:33 +0100 Subject: [PATCH 2/2] [FIX] UI: add copyright license header. --- .../UI/resources/js/MainControls/system_info.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/components/ILIAS/UI/resources/js/MainControls/system_info.js b/components/ILIAS/UI/resources/js/MainControls/system_info.js index 96c50897dab5..b12c8e0cb79f 100755 --- a/components/ILIAS/UI/resources/js/MainControls/system_info.js +++ b/components/ILIAS/UI/resources/js/MainControls/system_info.js @@ -1,3 +1,18 @@ +/** + * This file is part of ILIAS, a powerful learning management system + * published by ILIAS open source e-Learning e.V. + * + * ILIAS is licensed with the GPL-3.0, + * see https://www.gnu.org/licenses/gpl-3.0.en.html + * You should have received a copy of said license along with the + * source code, too. + * + * If this is not the case or you just want to try ILIAS, you'll find + * us at: + * https://www.ilias.de + * https://github.com/ILIAS-eLearning + */ + il = il || {}; il.UI = il.UI || {}; il.UI.maincontrols = il.UI.maincontrols || {};