[TYPO3-core] RFC: #16647: Prevent compress of scripts that use ajax.php
Steffen Kamper
info at sk-typo3.de
Thu Dec 2 23:08:28 CET 2010
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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 16647.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101202/994ddd5b/attachment.asc>
More information about the TYPO3-team-core
mailing list