[TYPO3-core] RFC #14283: Loading scriptaculous with all modules fails with t3lib_compressor

Steffen Gebert steffen at steffen-gebert.de
Mon May 3 10:53:28 CEST 2010


Am 03.05.2010, 09:54 Uhr, schrieb Steffen Gebert  
<steffen at steffen-gebert.de>:

> Type: Bugfix (blocker!)
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=14283
>
> Branches: trunk
>
> Problem:
> If you include scriptaculous.js without an addional ?load=mod1,mod2 it
> loads all its modules itself:
>> includes = s.src.match(/\?.*load=([a-z,]*)/);
>>   includes ? includes[1] :
>> 'builder,effects,dragdrop,controls,slider,sound').split(',').each(
>>   function(include) { Scriptaculous.require(path+include+'.js') });
>> });
>
> This doesn't work, when the compressor moved scriptaculous.js into
> typo3temp/, but not the module scripts.

The one thing, which now popped into my mind, is that this still causes  
404s, because it still *tries* (unnecessarily) to load the modules. But  
IMHO this could be fixed in beta3 - we need to leave some issues for the  
next release ;) (hope this is ok for you)

Steffen


More information about the TYPO3-team-core mailing list