Skip to content

Commit

Permalink
[BUGFIX] Correct display of unused elements in PageLayout
Browse files Browse the repository at this point in the history
Unused elements in PageLayout view will be displayed
as unused elements again.

Resolves: #93829
Releases: master, 10.4
Change-Id: Id7980c79e9ea0fd4644098a6a069814a5ba66f00
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/68626
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Oliver Bartsch <bo@cedev.de>
Tested-by: Richard Haeser <richard@richardhaeser.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Richard Haeser <richard@richardhaeser.com>
  • Loading branch information
froemken authored and haassie committed Mar 30, 2021
1 parent c92073f commit 2f2bdef
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -265,7 +265,7 @@ public function drawContent(bool $renderUnused = true): string

$unusedGrid = GeneralUtility::makeInstance(Grid::class, $this->context);
$unusedRow = GeneralUtility::makeInstance(GridRow::class, $this->context);
$unusedColumn = GeneralUtility::makeInstance(GridColumn::class, $this->context, ['colPos' => false, 'name' => 'unused']);
$unusedColumn = GeneralUtility::makeInstance(GridColumn::class, $this->context, ['name' => 'unused']);

$unusedGrid->addRow($unusedRow);
$unusedRow->addColumn($unusedColumn);
Expand Down

0 comments on commit 2f2bdef

Please sign in to comment.