Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
455f40db
Commit
455f40db
authored
Aug 24, 2017
by
Carsten Rose
Browse files
#4299 / HTML Element 'Select': Placeholder
AbstractBuildForm.php: code cleanup
parent
06b27ab4
Changes
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/AbstractBuildForm.php
View file @
455f40db
...
...
@@ -2240,7 +2240,7 @@ abstract class AbstractBuildForm {
for
(
$ii
=
0
;
$ii
<
$total
;
$ii
++
)
{
$option
.
=
'<option '
;
$option
.
=
Support
::
doAttribute
(
'value'
,
$itemKey
[
$ii
]);
$option
.
=
Support
::
doAttribute
(
'value'
,
$itemKey
[
$ii
]
,
false
);
if
(
$formElement
[
FE_PLACEHOLDER
]
!=
''
)
{
if
((
$ii
==
0
&&
isset
(
$formElement
[
FE_EMPTY_ITEM_AT_START
]))
||
...
...
@@ -2267,6 +2267,7 @@ abstract class AbstractBuildForm {
$json
=
$this
->
getFormElementForJson
(
$htmlFormElementName
,
$jsonValues
,
$formElement
);
$html
=
'<select '
.
$attribute
.
'>'
.
$option
.
'</select>'
;
$formElement
=
HelperFormElement
::
prepareExtraButton
(
$formElement
,
false
);
$html
=
$html
.
$this
->
getHelpBlock
()
.
$formElement
[
FE_TMP_EXTRA_BUTTON_HTML
];
...
...
Write
Preview
Supports
Markdown
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