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

Ingmar Schlecht ingmar at typo3.org
Sat Oct 20 21:07:30 CEST 2007


Hi Andreas,

I created a test extension and tried to test the patch, but I still get 
an error even after applying your patch.

Please check this and supply a new patch when needed.

My test extension is attached.

cheers
Ingmar


Andreas Otto schrieb:
> 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: T3X_test_multirte-0_0_0-z-200710202106.t3x
Type: application/octet-stream
Size: 10345 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20071020/c438c03c/attachment-0001.obj 


More information about the TYPO3-team-core mailing list