From 1ced3bd9060bd5e8e6f07184bad4f272d46d4ef8 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 5 Dec 2016 13:58:49 +0100 Subject: [PATCH] Active tab is now persistent --- wcfsetup/install/files/js/WoltLabSuite/Core/Ui/TabMenu/Simple.js | 1 + 1 file changed, 1 insertion(+) diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/TabMenu/Simple.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/TabMenu/Simple.js index 53c3bf57d3..ae9d26c2cf 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/TabMenu/Simple.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/TabMenu/Simple.js @@ -168,6 +168,7 @@ define(['Dictionary', 'EventHandler', 'Dom/Traverse', 'Dom/Util'], function(Dict var input = elCreate('input'); input.type = 'hidden'; input.name = store; + input.value = elData(this.getActiveTab(), 'name'); this._container.appendChild(input); -- 2.20.1