[BUGFIX] FormEngine: Fix IRRE localization button markup 85/44185/2
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Tue, 20 Oct 2015 15:48:49 +0000 (17:48 +0200)
committerBenjamin Kott <info@bk2k.info>
Tue, 20 Oct 2015 16:10:27 +0000 (18:10 +0200)
Add missing quote before the title tag to fix the onClick event handler.

Resolves: #70878
Related: #68820
Releases: master
Change-Id: Iadd321fcb37bfccad4e62bf2d6ae564b8485c63d
Reviewed-on: https://review.typo3.org/44185
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
typo3/sysext/backend/Classes/Form/Container/InlineRecordContainer.php

index 02b3e34..c925a36 100644 (file)
@@ -591,7 +591,7 @@ class InlineRecordContainer extends AbstractContainer
             if ($enabledControls['localize'] && $data['inlineIsDefaultLanguage']) {
                 $onClick = 'inline.synchronizeLocalizeRecords(' . GeneralUtility::quoteJSvalue($nameObjectFt) . ', ' . GeneralUtility::quoteJSvalue($rec['uid']) . ');';
                 $cells['localize'] = '
-                                       <a class="btn btn-default" href="#" onclick="' . htmlspecialchars($onClick) . 'title="' . $languageService->sL('LLL:EXT:lang/locallang_misc.xlf:localize', true) . '">
+                                       <a class="btn btn-default" href="#" onclick="' . htmlspecialchars($onClick) . 'title="' . $languageService->sL('LLL:EXT:lang/locallang_misc.xlf:localize', true) . '">
                                                ' . $this->iconFactory->getIcon('actions-document-localize', Icon::SIZE_SMALL)->render() . '
                                        </a>';
             }