Skip to content

Commit

Permalink
[BUGFIX] Add missing outer-container classes for foreign selector types
Browse files Browse the repository at this point in the history
With patch #97786 a bug was fixed, to only toggle inline controls in
their own scope. For this a new helper class was introduced and added
for vanilla inline controls. However, there are two other special
inline control types for record selectors. Most commonly known from the
FileSelector for FAL. The helper class is now added there as well.

Resolves: #98233
Related: #97786
Releases: main, 11.5
Change-Id: Ifb2eb4205ecec50540a70943163c639f04de5ea1
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75596
Tested-by: core-ci <typo3@b13.com>
Tested-by: Henrik Ziegenhain <henrik@ziegenhain.me>
Tested-by: Jörg Bösche <typo3@joergboesche.de>
Tested-by: Harry Glatz <glatz@analog.de>
Tested-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Jörg Bösche <typo3@joergboesche.de>
Reviewed-by: Henrik Ziegenhain <henrik@ziegenhain.me>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
  • Loading branch information
nhovratov authored and o-ba committed Sep 2, 2022
1 parent 1582cdc commit c7c4806
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ protected function renderPossibleRecordsSelectorTypeGroupDB(array $inlineConfigu
if (!empty($allowedList)) {
$item .= '<div class="help-block">' . $allowedLabel . '<br>' . $allowedList . '</div>';
}
$item = '<div class="form-group t3js-formengine-validation-marker">' . $item . '</div>';
$item = '<div class="form-group t3js-formengine-validation-marker t3js-inline-controls-top-outer-container">' . $item . '</div>';
return $item;
}

Expand Down Expand Up @@ -665,7 +665,7 @@ protected function renderPossibleRecordsSelectorTypeSelect(array $config, array
}

// Wrap the selector and add a spacer to the bottom
$item = '<div class="input-group form-group t3js-formengine-validation-marker">' . $item . '</div>';
$item = '<div class="input-group form-group t3js-formengine-validation-marker t3js-inline-controls-top-outer-container">' . $item . '</div>';
return $item;
}

Expand Down

0 comments on commit c7c4806

Please sign in to comment.