Actions
Bug #22570
closedLoading scriptaculous with all modules fails with t3lib_compressor
Start date:
2010-05-03
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
If you include scriptaculous.js without an addional ?load=mod1,mod2 it loads all its modules:
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.
We have to treat PageRenderer::loadProtaculous() as loadProtaculous('all'), as this is the behavior, which protaculous always did, but now it's not able to do so itself.
So by taking 'all', when no parameter given, we add all modules.
This problem can be observed using IRRE. Sortable is undefined there.
(issue imported from #M14283)
Files
Actions