[BUGFIX] Make the "Stop preview" link clickable when previewing a page (workspaces) 16/58316/4
authorGuillaume Germain <guillaume@germain.bzh>
Tue, 18 Sep 2018 14:28:30 +0000 (16:28 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 30 Oct 2018 20:52:33 +0000 (21:52 +0100)
Resolves: #86298
Releases: 8.7
Change-Id: I95bde368cff46e0fd02251ad673aefdd6b5f2e6d
Reviewed-on: https://review.typo3.org/58316
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/workspaces/Classes/Hook/TypoScriptFrontendControllerHook.php

index ddc89b5..e27c7a3 100644 (file)
@@ -66,7 +66,7 @@ class TypoScriptFrontendControllerHook
                 );
                 if ($pObj->doWorkspacePreview()) {
                     $urlForStoppingPreview = GeneralUtility::getIndpEnv('TYPO3_SITE_URL') . 'index.php?ADMCMD_prev=LOGOUT&returnUrl=' . rawurlencode(GeneralUtility::getIndpEnv('REQUEST_URI'));
-                    $text .= '<br><a style="color: #000;" href="' . $urlForStoppingPreview . '">Stop preview</a>';
+                    $text .= '<br><a style="color: #000;pointer-events: auto;" href="' . $urlForStoppingPreview . '">Stop preview</a>';
                 }
                 $styles = [];
                 $styles[] = 'position: fixed';