[TYPO3-core] RFC: #16647: Prevent compress of scripts that use ajax.php

Sebastian Fischer sf at marketing-factory.de
Fri Dec 3 09:27:18 CET 2010


On 02.12.2010 23:08, Steffen Kamper wrote:
> Hi,
>
> This is an SVN patch request.
>
> Type: bugfix
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=16647
>
> Branches:
> Trunk
>
> When register Ajaxcalls you add a jsFile to pageRenderer with source
> 'ajax.php?params'
>
> To prevent compress you have to add 2 more params (NULL, FALSE).
> Example:
> $this->pageRenderer->addJsFile(
> 'ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.BackendUserSettings',
> NULL,
> FALSE
> );
>
> This check should be done while inclusion, so you can simple add this
> like other jsFiles :
>
> $this->pageRenderer->addJsFile('ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.BackendUserSettings');
>
>
> vg Steffen

+1 by reading

Greetings
Sebastian


More information about the TYPO3-team-core mailing list