Skip to content

Commit 6d691d5

Browse files
[BUGFIX] Move css class to li element and fix name for parent container (#1884)
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
1 parent 3fbbda2 commit 6d691d5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Classes/Controller/ToolboxController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ private function getFile(int $page, array $fileGrps): array
410410
private function renderImageManipulationTool(): void
411411
{
412412
// Set parent element for initialization.
413-
$parentContainer = !empty($this->settings['parentContainer']) ? $this->settings['parentContainer'] : '.tx-dlf-imagemanipulationtool';
413+
$parentContainer = !empty($this->settings['parentContainer']) ? $this->settings['parentContainer'] : '.tx-dlf-tools-imagemanipulation';
414414

415415
$this->view->assign('imageManipulation', true);
416416
$this->view->assign('parentContainer', $parentContainer);

Resources/Private/Partials/Toolbox/ImageManipulationTool.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
1313
data-namespace-typo3-fluid="true">
1414

15-
<li>
16-
<span class="tx-dlf-tools-imagemanipulation" id="tx-dlf-tools-imagemanipulation" data-dic="imagemanipulation-on:{f:translate(key: 'tools.imagemanipulation.on')};imagemanipulation-off:{f:translate(key: 'tools.imagemanipulation.off')};reset:{f:translate(key: 'tools.imagemanipulation.reset')};saturation:{f:translate(key: 'tools.imagemanipulation.saturation')};hue:{f:translate(key: 'tools.imagemanipulation.hue')};contrast:{f:translate(key: 'tools.imagemanipulation.contrast')};brightness:{f:translate(key: 'tools.imagemanipulation.brightness')};invert:{f:translate(key: 'tools.imagemanipulation.invert')};parentContainer:{parentContainer}" title="{f:translate(key: 'tools.imagemanipulation.no-support')}">
15+
<li class="tx-dlf-tools-imagemanipulation">
16+
<span id="tx-dlf-tools-imagemanipulation" data-dic="imagemanipulation-on:{f:translate(key: 'tools.imagemanipulation.on')};imagemanipulation-off:{f:translate(key: 'tools.imagemanipulation.off')};reset:{f:translate(key: 'tools.imagemanipulation.reset')};saturation:{f:translate(key: 'tools.imagemanipulation.saturation')};hue:{f:translate(key: 'tools.imagemanipulation.hue')};contrast:{f:translate(key: 'tools.imagemanipulation.contrast')};brightness:{f:translate(key: 'tools.imagemanipulation.brightness')};invert:{f:translate(key: 'tools.imagemanipulation.invert')};parentContainer:{parentContainer}" title="{f:translate(key: 'tools.imagemanipulation.no-support')}">
1717
</span>
1818
</li>
1919

0 commit comments

Comments
 (0)