Bug #19803
closedSection with RTE - delete isn't possible because of JS-Error
0%
Description
I created some elements in a section with testfield and RTE.
When i click on the trash-icon to delete, nothing happens and a JS-Error is thrown: Illegal Character.
This is the a-tag created:
<a onclick="if (confirm("Are you sure?")){if (RTEarea[\'data[tt_content]159[pi_flexform][data][sTAB2][lDEF][sectionContainer][el]1[groupTitleText][el][sectionSubContainer][el][ID-80c78b5c2a-9f98bf2b04-7155af6f81-form][subGroupTitleText][el][subsectionText][vDEF]\']) { RTEarea[\'data[tt_content]159[pi_flexform][data][sTAB2][lDEF][sectionContainer][el]1[groupTitleText][el][sectionSubContainer][el][ID-80c78b5c2a-9f98bf2b04-7155af6f81-form][subGroupTitleText][el][subsectionText][vDEF]\'].deleted = true;};$("ID-80c78b5c2a-9f98bf2b04").hide();setActionStatus("ID-80c78b5c2a");} return false;" href="#"><img height="16" width="16" title="Delete" alt="Delete" src="sysext/t3skin/icons/gfx/garbage.gif"/></a>
The illegal character is the \' in RTEarea-array
(issue imported from #M10111)
Updated by Steffen Kamper over 15 years ago
its encoded here, in code it's hex coded : \ & # 3 9 ; (without spaces)
Updated by Stanislas Rolland over 15 years ago
I think this was resolved by fix to issue #20045.