Commit 65bdedb9 authored by Carsten  Rose's avatar 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
......@@ -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);
......
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