Bug #22570
Loading scriptaculous with all modules fails with t3lib_compressor
Status: | Closed | Start date: | 2010-05-03 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Steffen Kamper | % Done: | 0% |
|
Category: | - | Spent time: | - | |
Target version: | - | |||
TYPO3 Version: | 4.4 | Is Regression: | ||
PHP Version: | 5.3 | Sprint Focus: | ||
Complexity: |
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)
Related issues
History
#1 Updated by Steffen Kamper over 5 years ago
Committed to trunk rev 7525