[TYPO3-core] RFC: Fix JS errors with dividers2tabs and rtehtmlarea

Andreas Otto andreas.otto at dkd.de
Wed Oct 17 17:33:26 CEST 2007


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=6340

Branches:
TYPO3_4-1 & Trunk

Problem:
Due to changes to rtehtmlarea from July this year the rte will not load and
cause JS errors.

When does this happen:
You will need an extension with more than 1 richtext field which displays
the fields of its records in tabs in the BE.
Edit the file ext_tables.php of this extension and change set dividers2tabs
to false.
The extension rtehtmlarea will now throw a JS error because the extension
relies on identifiers in the generated HTML code which will only be set if
dividers2tabs is set to true.

Solution:
Change the part in class.t3lib_tceforms.php which is causing the trouble
because of a missing check of the right conditions. 



Cheers,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dividers2tabs-rte_v3.diff
Type: text/x-diff
Size: 1594 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20071017/fe8a8ed7/attachment.diff 


More information about the TYPO3-team-core mailing list