mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 19:48:49 +02:00
Buttons component : add tooltip
Note that we will do later on a pass on accessibility, so we might add as well a title attribute, or a aria-* attribute
This commit is contained in:
@@ -307,6 +307,7 @@ class ButtonFactory
|
||||
{
|
||||
$oButton = static::MakeForAction('', Button::ENUM_COLOR_NEUTRAL, Button::ENUM_ACTION_TYPE_ALTERNATIVE, null, $sName, false, $sId);
|
||||
$oButton->SetIconClass($sIconClasses);
|
||||
$oButton->SetTooltip($sTooltipText);
|
||||
|
||||
if (!empty($sURL)) {
|
||||
if (empty($sTarget)) {
|
||||
|
||||
Reference in New Issue
Block a user