[TYPO3-core] RFC #8456: Browse Links does not use JS library interface

Steffen Kamper steffen at sk-typo3.de
Mon May 19 13:32:23 CEST 2008


"Benjamin Mack" <benni at typo3.org> schrieb im Newsbeitrag 
news:mailman.1.1211191812.20220.typo3-team-core at lists.netfielders.de...
> Hey all,
>
> this is a SVN patch request.
>
> Branches: TYPO3_4.2 / Trunk
>
> BT reference: http://bugs.typo3.org/view.php?id=8456
>
> Problem: Currently the file typo3/class.browse_links.php includes the
> prototype library and one other JS file manually with strings. Since 4.2
> we have an interface to prevent double inclusions.
>
> Solution: We need to switch this file to the new interface to have
> extensions hook in properly.
>
> Notes: The patch however changes the functionality a bit. The two
> external files are included BEFORE any inline JS code. This makes a lot
> of sense for libraries (e.g. prototype) to let the inline JS make use of
> the provided features.
>
> -- 
> greetings,
> benni.
> -SDG-

Hi benni,

+1 on reading. i don't see a change of functionality with changing the 
order, and it's right to include the libs at first.

vg Steffen 




More information about the TYPO3-team-core mailing list