Commit e32c80b5 authored by Carsten  Rose's avatar Carsten Rose
Browse files

AbstractBuildForm.php: reformat code

parent aef86484
......@@ -484,7 +484,7 @@ abstract class AbstractBuildForm {
$required = 'yes';
break;
case FE_MODE_READONLY:
$disabled = 'yes'; // convert the UI status 'readonly' to the HTML/CSS status disabled.
$disabled = 'yes'; // convert the UI status 'readonly' to the HTML/CSS status 'disabled'.
break;
case FE_MODE_HIDDEN:
$hidden = 'yes';
......@@ -782,8 +782,9 @@ abstract class AbstractBuildForm {
break;
}
$attribute .= Support::doAttribute(DATA_DISABLED, $disabled);
// Attributes: data-...
$attribute .= Support::doAttribute(DATA_HIDDEN, $hidden);
$attribute .= Support::doAttribute(DATA_DISABLED, $disabled);
$attribute .= Support::doAttribute(DATA_REQUIRED, $required);
return $attribute;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment