Active tab is now persistent
authorAlexander Ebert <ebert@woltlab.com>
Mon, 5 Dec 2016 12:58:49 +0000 (13:58 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 5 Dec 2016 12:59:35 +0000 (13:59 +0100)
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/TabMenu/Simple.js

index 53c3bf57d3ba65ce8a36c6b71ec0ac2c7e20e45a..ae9d26c2cf2aa6c3da12bc3b78f0f03af548b9f2 100644 (file)
@@ -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);