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
65bdedb9
Commit
65bdedb9
authored
Sep 01, 2019
by
Carsten Rose
Browse files
Add table html-id to subrecords, created by QFQ. Needed for tablesorter.
parent
3db469e6
Pipeline
#2317
failed with stages
in 1 minute and 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/Classes/Core/AbstractBuildForm.php
View file @
65bdedb9
...
...
@@ -2661,7 +2661,10 @@ abstract class AbstractBuildForm {
$dndAttributes
.
=
Support
::
doAttribute
(
'data-columns'
,
$numColumns
);
}
$tableSorterHtmlId
=
$this
->
store
::
getVar
(
TYPO3_PAGE_ALIAS
,
STORE_TYPO3
)
.
'-'
.
$formElement
[
FE_ID
];
$attribute
=
Support
::
doAttribute
(
'class'
,
$formElement
[
FE_SUBRECORD_TABLE_CLASS
]);
$attribute
.
=
' '
.
Support
::
doAttribute
(
'id'
,
$tableSorterHtmlId
);
return
Support
::
wrapTag
(
"<table
$attribute
>"
,
$htmlHead
.
Support
::
wrapTag
(
"<tbody
$dndAttributes
>"
,
$htmlBody
),
true
);
...
...
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