[4.0] Do NOT force jQuery.js and Bootstrap.js in the backend template#23742
[4.0] Do NOT force jQuery.js and Bootstrap.js in the backend template#23742wilsonge merged 6 commits intojoomla:4.0-devfrom dgrammatiko:4.0-dev-atum
Conversation
|
Just for the record IF we move to BS5 before stable (and therefore don't have to load jquery) I might reconsider this and revert back to loading bs5.js with the BACKEND template (not the frontend if/when we sort that out) |
|
@wilsonge but the work on the custom elements was primarily to fix the a11y issues of Bootstrap. The vanilla js was a side effect. So falling back to BS is just blindly erase all the hard work done on the accessibility so far... |
|
@Fedik did you just undid this PR with the changes in the assets manager? |
|
what changes? :) |
|
You switched back to forcing BS js on the index.php |
|
you mean changes in joomla.asset.json? |
|
I know, but basically you reverted this PR |
Pull Request for Issue # .
Summary of Changes
HTMLHelper::_('bootstrap.something'...)) therefor there is zero benefit forcing these scripts in the index.php of the template. Also we've (as the Javascript team) put a huge amount of work to convert everything to vanilla javascript and quite frankly by forcing jQuery always makes all that work redundant.Testing Instructions
Check that all pages in the backend still work
Expected result
No change
Actual result
Documentation Changes Required
No. jQuery and Bootstrap.js are still supported and can be loaded whenever they're needed but they're not forced anymore