mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Removing 'text' CSS class from CheckboxField_Disabled to avoid different styling from standard checkbox (fixes #6636, thanks theAlien)
This commit is contained in:
parent
67ec23677a
commit
d157e6ec35
@ -123,7 +123,7 @@ class CheckboxField_Disabled extends CheckboxField {
|
||||
function Field() {
|
||||
$attributes = array(
|
||||
'type' => 'checkbox',
|
||||
'class' => 'text' . ($this->extraClass() ? $this->extraClass() : ''),
|
||||
'class' => ($this->extraClass() ? $this->extraClass() : ''),
|
||||
'id' => $this->id(),
|
||||
'name' => $this->Name(),
|
||||
'tabindex' => $this->getTabIndex(),
|
||||
|
Loading…
Reference in New Issue
Block a user