From 38e4ac53a3208aa6cafe63b82d6f6d22989afb57 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 10 Jul 2015 23:30:49 +0200 Subject: [PATCH] Added tab names for event handler in `UI/TabMenu/Simple` --- wcfsetup/install/files/js/WoltLab/WCF/UI/TabMenu/Simple.js | 2 ++ 1 file changed, 2 insertions(+) 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') { -- 2.20.1