[BUGFIX] Removes cropping from pagetree title 17/61417/2
authorMichael Blunck <michael.blunck@phth.de>
Fri, 2 Aug 2019 21:02:22 +0000 (23:02 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Sat, 3 Aug 2019 13:30:48 +0000 (15:30 +0200)
Pagetree uses javascript for search.
Cropping causes issues because not the full title
is searched. As the pagetree is neither scrollable
nor resizable, cropping does not make sense anyway
and is therefor removed.

Resolves: #88700
Releases: master, 9.5
Change-Id: I23bd7d1b46a7c455effa0d0452fb6bbeef8ab8eb
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61417
Reviewed-by: Susanne Moog <look@susi.dev>
Reviewed-by: Thomas Anders <me@naderio.de>
Reviewed-by: Jörg Bösche <typo3@joergboesche.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Thomas Anders <me@naderio.de>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Jörg Bösche <typo3@joergboesche.de>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/backend/Classes/Controller/Page/TreeController.php

index d333f76..79f8c53 100644 (file)
@@ -266,7 +266,6 @@ class TreeController
         if (trim($visibleText) === '') {
             $visibleText = htmlspecialchars('[' . $this->getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.no_title') . ']');
         }
-        $visibleText = GeneralUtility::fixed_lgd_cs($visibleText, (int)$this->getBackendUser()->uc['titleLen'] ?: 40);
 
         if ($this->addDomainName && $page['is_siteroot']) {
             $domain = $this->getDomainNameForPage($pageId);