Bug #75789
closedRTE link inserter does no longer show styles
0%
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:
<tr>
<td><label>Stil:</label></td>
<td colspan="3">
<select name="anchor_class" onchange="
if (document.ltargetform.anchor_class) {
document.ltargetform.anchor_class.value = document.ltargetform.anchor_class.options[document.ltargetform.anchor_class.selectedIndex].value;
if (document.ltargetform.anchor_class.value && HTMLArea.classesAnchorSetup) {
for (var i = HTMLArea.classesAnchorSetup.length; --i >= 0;) {
var anchorClass = HTMLArea.classesAnchorSetup[i];
if (anchorClass['name'] == document.ltargetform.anchor_class.value) {
if (anchorClass['titleText'] && document.ltargetform.anchor_title) {
document.ltargetform.anchor_title.value = anchorClass['titleText'];
document.getElementById('rtehtmlarea-browse-links-title-readonly').innerHTML = anchorClass['titleText'];
browse_links_setTitle(anchorClass['titleText']);
}
if (anchorClass['target']) {
if (document.ltargetform.ltarget) {
document.ltargetform.ltarget.value = anchorClass['target'];
}
browse_links_setTarget(anchorClass['target']);
} else if (document.ltargetform.ltarget && document.getElementById('ltargetrow').style.display == 'none') {
// Reset target to default if field is not displayed and class has no configured target
document.ltargetform.ltarget.value = '_self';
browse_links_setTarget(document.ltargetform.ltarget.value);
}
break;
}
}
}
browse_links_setClass(document.ltargetform.anchor_class.value);
}
">
<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>
</select>
</td>
</tr>
--> i.e. in the JS ampersands looks as if escaped and the following <option>-Tag gets escaped as well.
Checked with Firefox 38.7.1 and IE 11
Files