From: Alexander Ebert Date: Mon, 5 Dec 2016 12:58:49 +0000 (+0100) Subject: Active tab is now persistent X-Git-Tag: 3.0.0_RC_1~81 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1ced3bd9060bd5e8e6f07184bad4f272d46d4ef8;p=GitHub%2FWoltLab%2FWCF.git Active tab is now persistent --- 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);