BUG 8010 Checkbox no se muestra en modo view cuando labelonright="1"
This issue was fixed. there was one variable without value.
This commit is contained in:
@@ -2360,7 +2360,7 @@ class XmlForm_Field_Checkbox extends XmlForm_Field
|
|||||||
$checked = (isset ( $value ) && ($value == $this->value)) ? 'checked' : '';
|
$checked = (isset ( $value ) && ($value == $this->value)) ? 'checked' : '';
|
||||||
if ($this->labelOnRight) {
|
if ($this->labelOnRight) {
|
||||||
$html = '';
|
$html = '';
|
||||||
$html = "<input id='form[" . $this->name . "]' value='{$this->value}' name='form[" . $this->name . "]' type='checkbox' $checked $readOnly $disabled >
|
$html = "<input id='form[" . $this->name . "]' value='{$this->value}' name='form[" . $this->name . "]' type='checkbox' $checked $readOnly disabled >
|
||||||
<span class='FormCheck'>" . $this->label . '</span></input>';
|
<span class='FormCheck'>" . $this->label . '</span></input>';
|
||||||
} else {
|
} else {
|
||||||
$html = "<input id='form[" . $this->name . "]' value='{$this->value}' name='form[" . $this->name . "]' type='checkbox' $checked $readOnly disabled/>";
|
$html = "<input id='form[" . $this->name . "]' value='{$this->value}' name='form[" . $this->name . "]' type='checkbox' $checked $readOnly disabled/>";
|
||||||
|
|||||||
Reference in New Issue
Block a user