[TYPO3-core] FYI72: Fix bug #12675: Validation issues in sysext reports: Fix several errors

Christian Kuhn lolli at schwarzbu.ch
Tue Nov 24 01:54:01 CET 2009


Hey,

Steffen Kamper wrote:
> Christian Kuhn schrieb:
>> - Add CDATA comment around a JS block
> 
> as reports module is only for 4.3+ we can use a better call which does
> that all automatic:
> 
> $this->doc->getPageRenderer()->addJsInlineCode('reports_mod_index',
> [javascript code]
> );

Attached patch 12675_01.diff now uses $this->doc->JScodeArray[] which
does pretty much the same by calling getPageRenderer->addJsInlineCode at
the end. Other reports could inject js here as well as they get $this as
param. Is this ok for you?


Cheers
Christian
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 12675_01.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091124/fe9b6da7/attachment-0001.txt>


More information about the TYPO3-team-core mailing list