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

Fix typo

parent 9e6b014c
Pipeline #2325 passed with stages
in 2 minutes and 37 seconds
......@@ -3107,7 +3107,7 @@ abstract class AbstractBuildForm {
$textDeleteClass = '';
$uploadClass = 'hidden';
if ($formElement[FE_MODE] == FE_MODE_REQUIRED) {
$formElement[FE_MODE] = FE_MODE_SHOW; // #4495 - Upload, which already has been uploaded should not marked as requires
$formElement[FE_MODE] = FE_MODE_SHOW; // #4495 - Upload, which already has been uploaded should not marked as required
$attribute .= Support::doAttribute(DATA_REQUIRED, FE_MODE_REQUIRED);
}
// $formElement[FE_MODE] = FE_MODE_HIDDEN; // #3876, CR did not understand why we need this here. Comment. If active, this element will be hide on each dynamic update.
......@@ -3148,7 +3148,6 @@ abstract class AbstractBuildForm {
$htmlFilename = Support::wrapTag("<span class='uploaded-file-name'>", $value, false);
$htmlTextDelete = Support::wrapTag("<div class='uploaded-file $textDeleteClass'>", $htmlFilename . ' ' . $deleteButton);
// <button type="button" class="file-delete" data-sip="571d1fc9e6974"><span class="glyphicon glyphicon-trash"></span></button>
$formElement = HelperFormElement::prepareExtraButton($formElement, false);
......
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