MINOR Removing 'text' CSS class from CheckboxField_Disabled to avoid different styling from standard checkbox (fixes #6636, thanks theAlien)

This commit is contained in:
Ingo Schommer 2011-05-20 08:08:27 +12:00
parent 67ec23677a
commit d157e6ec35

View File

@ -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(),