#75789RTE link inserter does no longer show styles
Description
After the Update from TYPO3 6.2.19 to 6.2.21 (we skipped 6.2.20 here) in rtehtmlarea, inside the Popup for inserting links the dropdown for style selection does not work anymore (view attached image).
Strangely enough, all the needed code seems to be still there, but it seems to be escaped:
In my Firefox Webdeveloper Toolkit the respective row shows as such:
<select name="anchor_class" onchange="<br /> if (document.ltargetform.anchor_class) {<br /> document.ltargetform.anchor_class.value = document.ltargetform.anchor_class.options[document.ltargetform.anchor_class.selectedIndex].value;<br /> if (document.ltargetform.anchor_class.value && HTMLArea.classesAnchorSetup) {<br /> for (var i = HTMLArea.classesAnchorSetup.length; --i >= 0;) {<br /> var anchorClass = HTMLArea.classesAnchorSetup[i];<br /> if (anchorClass['name'] document.ltargetform.anchor_class.value) {<br /> if (anchorClass['titleText'] && document.ltargetform.anchor_title) {<br /> document.ltargetform.anchor_title.value = anchorClass['titleText'];<br /> document.getElementById('rtehtmlarea-browse-links-title-readonly').innerHTML = anchorClass['titleText'];<br /> browse_links_setTitle(anchorClass['titleText']);<br /> }<br /> if (anchorClass['target']) {<br /> if (document.ltargetform.ltarget) {<br /> document.ltargetform.ltarget.value = anchorClass['target'];<br /> }<br /> browse_links_setTarget(anchorClass['target']);<br /> } else if (document.ltargetform.ltarget && document.getElementById('ltargetrow').style.display 'none') {<br /> // Reset target to default if field is not displayed and class has no configured target<br /> document.ltargetform.ltarget.value = '_self';<br /> browse_links_setTarget(document.ltargetform.ltarget.value);<br /> }<br /> break;<br /> }<br /> }<br /> }<br /> browse_links_setClass(document.ltargetform.anchor_class.value);<br /> }<br /> "><br> <option value=""></option><option selected="selected" value="external-link">external-link</option><option value="internal-link">internal-link</option><option value="bereichsstartseite-link">bereichsstartseite-link</option><option value="anchor">anchor</option><br> </select>
—> i.e. in the JS ampersands looks as if escaped and the following <option>-Tag gets escaped as well.</option>
Checked with Firefox 38.7.1 and IE 11
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.