Project

General

Profile

Actions

Bug #19803

closed

Section with RTE - delete isn't possible because of JS-Error

Added by Steffen Kamper almost 16 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-01-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #72875: htmlArea RTE: JS error is raised when using the delete icon on a flexformClosed2009-02-18

Actions
Is duplicate of TYPO3 Core - Bug #20045: htmlArea RTE: JS error is raised when using the delete icon on a flexformClosedStanislas Rolland2009-02-18

Actions
Actions #1

Updated by Steffen Kamper almost 16 years ago

its encoded here, in code it's hex coded : \ & # 3 9 ; (without spaces)

Actions #2

Updated by Stanislas Rolland over 15 years ago

I think this was resolved by fix to issue #20045.

Actions #3

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF