[TYPO3-core] RFC: Bug #7947: IRRE: XCLASSes in tceforms_inline are not working with ajax-calls

Malte Jansen mail at maltejansen.de
Thu Mar 27 18:57:17 CET 2008


Hi

This is an SVN patch request.

Type: Bugfix

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

Branches: 4.2


Problem:
The init after an ajax-call for a new IRRE-Record is not working 
correctly. So the XCLASS for the TCEFORMS is not loaded, due to not 
loading the $TYPO3_CONF_VARS to the init-function.

Solution:
Just adding "global $TYPO3_CONF_VARS;" before the require_once is 
called. So the array with XCLASS is known to the function.

Notice:

It's a real no brainer.

I have just moved the whole global-declaration before the require_once.


Cheers,

Malte
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 7947_tceforms_inline_xclass_v1_trunk.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080327/064d4da0/attachment.txt 


More information about the TYPO3-team-core mailing list