[BUGFIX] Reenable input field for page ID when setting a link via RTE 94/61194/7
authorIoulia Kondratovitch <ik@plan2.net>
Sat, 29 Jun 2019 20:49:18 +0000 (22:49 +0200)
committerSusanne Moog <look@susi.dev>
Sat, 9 Nov 2019 13:05:44 +0000 (14:05 +0100)
Remove obsolete dot to make following setting work again:
RTE.default.buttons.link.pageIdSelector.enabled = 1

This now renders an input field for a page ID again when setting
a link via RTE.

Resolves: #88656
Releases: master, 9.5
Change-Id: I25a9cd20fd269f3f4f683ee6474f424897601a86
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61194
Tested-by: Daniel Goerz <daniel.goerz@posteo.de>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Susanne Moog <look@susi.dev>
Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: Susanne Moog <look@susi.dev>
typo3/sysext/recordlist/Classes/LinkHandler/PageLinkHandler.php

index 71f45dc..1c8a594 100644 (file)
@@ -256,7 +256,7 @@ class PageLinkHandler extends AbstractLinkHandler implements LinkHandlerInterfac
     public function modifyLinkAttributes(array $fieldDefinitions)
     {
         $configuration = $this->linkBrowser->getConfiguration();
-        if (!empty($configuration['pageIdSelector.']['enabled'])) {
+        if (!empty($configuration['pageIdSelector']['enabled'])) {
             $this->linkAttributes[] = 'pageIdSelector';
             $fieldDefinitions['pageIdSelector'] = '
                                <form class="form-horizontal"><div class="form-group form-group-sm">