[TYPO3-core] RFC: #11044: Move inline JS to external file in backend.php

Christoph Koehler christoph.koehler at gmail.com
Fri Jul 17 22:59:16 CEST 2009


On 5/7/09 7:06 AM, Steffen Kamper wrote:
> Hi,
>
> This is SVN patch request.
>
> Type: Cleanup
>
> Branches: trunk
>
> BT reference: http://bugs.typo3.org/view.php?id=11044
>
> I moved the inline JS to backend.js, introduced 2 new objects:
> TYPO3.configuration (specific conf vars)
> TYPO3.language (localized labels)
>
> This has many pros:
> * quicker loading because caching js-files
> * better maintainance of JS
> * possible usage of configuration/language in other JS-files
>
> Left in inline is the module switch.
>
> vg Steffen

There is a bug in the committed version with some missing quotes. I 
attached a patch to fix it. See http://bugs.typo3.org/view.php?id=11556

Christoph


More information about the TYPO3-team-core mailing list