From: Alexander Ebert Date: Fri, 10 Jul 2015 21:30:49 +0000 (+0200) Subject: Added tab names for event handler in `UI/TabMenu/Simple` X-Git-Tag: 3.0.0_Beta_1~2193 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=38e4ac53a3208aa6cafe63b82d6f6d22989afb57;p=GitHub%2FWoltLab%2FWCF.git Added tab names for event handler in `UI/TabMenu/Simple` --- diff --git a/wcfsetup/install/files/js/WoltLab/WCF/UI/TabMenu/Simple.js b/wcfsetup/install/files/js/WoltLab/WCF/UI/TabMenu/Simple.js index 4f26561f81..027e86b045 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/UI/TabMenu/Simple.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/UI/TabMenu/Simple.js @@ -220,7 +220,9 @@ define(['Dictionary', 'DOM/Traverse', 'DOM/Util', 'EventHandler'], function(Dict if (disableEvent !== true) { EventHandler.fire('com.woltlab.wcf.simpleTabMenu_' + this._containerId, 'select', { active: tab, + activeName: name, previous: oldTab, + previousName: oldTab.getAttribute('data-name') }); if (this._isLegacy && typeof window.jQuery === 'function') {