Revert "[BUGFIX] Fix JavaScript error that prevents links to anchor tags in RTE" 58/33058/2
authorMarkus Klein <klein.t3@reelworx.at>
Tue, 30 Sep 2014 09:26:31 +0000 (11:26 +0200)
committerMarkus Klein <klein.t3@reelworx.at>
Tue, 30 Sep 2014 09:27:08 +0000 (11:27 +0200)
This reverts commit 9bcebec002224bbc2a0dcd38cff032a14f2e075e.

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

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

index 9d7398c..a54cd27 100644 (file)
@@ -1688,7 +1688,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 />';
                                                }
                                        }