Revert "[BUGFIX] Fix JavaScript error that prevents links to anchor tags in RTE" 60/33060/2
authorMarkus Klein <klein.t3@reelworx.at>
Tue, 30 Sep 2014 09:28:17 +0000 (11:28 +0200)
committerMarkus Klein <klein.t3@reelworx.at>
Tue, 30 Sep 2014 09:28:29 +0000 (11:28 +0200)
This reverts commit eda10cc0f2f2ddb7fa645c2f7ef6b71ea9f22b94.

The commit message of the original patch references a wrong issue number and the target versions seem to be wrong too.

Change-Id: I37866f1a70f354fae36a4efe3c7dab0c77f84bc8
Resolves: #61968
Reverts: #61943
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/33060
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php

index 68650f1..7085b9c 100644 (file)
@@ -1619,7 +1619,7 @@ class ElementBrowser {
                                                                . '<img' . IconUtility::skinImg($GLOBALS['BACK_PATH'], ('gfx/ol/join'
                                                                        . ($skey + 3 > count($split) ? 'bottom' : '') . '.gif'), 'width="18" height="16"')
                                                                        . ' alt="" />' . '<a href="#" onclick="return link_typo3Page(' . GeneralUtility::quoteJSvalue($expPageId)
-                                                                       . ',' . GeneralUtility::quoteJSvalue('#' . $sval) . ');">' . htmlspecialchars((' <A> ' . $sval))
+                                                                       . ',' . GeneralUtility::quoteJSvalue('#' . $sval) . ';">' . htmlspecialchars((' <A> ' . $sval))
                                                                        . '</a><br />';
                                                }
                                        }