From: Alexander Ebert Date: Sat, 17 Feb 2018 11:34:50 +0000 (+0100) Subject: Improved recognition of some legacy user list buttons X-Git-Tag: 3.1.0~25 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=06209e6863251daa43701e7cb11be155da112165;p=GitHub%2FWoltLab%2FWCF.git Improved recognition of some legacy user list buttons --- diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Acp/Ui/User/Editor.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Acp/Ui/User/Editor.js index d5ce4986e8..c897cc4f09 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Acp/Ui/User/Editor.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Acp/Ui/User/Editor.js @@ -98,7 +98,7 @@ define(['Ajax', 'Core', 'EventHandler', 'Language', 'Ui/SimpleDropdown'], functi item.innerHTML = ''; link = item.children[0]; - link.textContent = elData(button, 'tooltip'); + link.textContent = elData(button, 'tooltip') || button.title; (function(button) { link.addEventListener(WCF_CLICK_EVENT, function (event) { event.preventDefault();