diff --git a/typo3/sysext/backend/Classes/Template/Components/Buttons/LinkButton.php b/typo3/sysext/backend/Classes/Template/Components/Buttons/LinkButton.php index 216cbfcb4bde8212d65d20d57f409cf26990e06e..4b9c822e50e4471d280118922e7dc51380505bf8 100644 --- a/typo3/sysext/backend/Classes/Template/Components/Buttons/LinkButton.php +++ b/typo3/sysext/backend/Classes/Template/Components/Buttons/LinkButton.php @@ -105,6 +105,10 @@ class LinkButton extends AbstractButton if ($this->onClick !== '') { $attributes['onclick'] = $this->onClick; } + if ($this->isDisabled()) { + $attributes['disabled'] = 'disabled'; + $attributes['class'] .= ' disabled'; + } $attributesString = ''; foreach ($attributes as $key => $value) { $attributesString .= ' ' . htmlspecialchars($key) . '="' . htmlspecialchars($value) . '"';