Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
af5e6844
Commit
af5e6844
authored
Sep 01, 2019
by
Carsten Rose
Browse files
Fix typo
parent
9e6b014c
Pipeline
#2325
passed with stages
in 2 minutes and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/Classes/Core/AbstractBuildForm.php
View file @
af5e6844
...
...
@@ -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 require
s
$formElement
[
FE_MODE
]
=
FE_MODE_SHOW
;
// #4495 - Upload, which already has been uploaded should not marked as require
d
$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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment