#22570Loading scriptaculous with all modules fails with t3lib_compressor
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)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.