Resolve "Specific Async Script Loading by using a Page Variable"
Compare changes
- Tim Zallmann authored
Fixed a problem with the select2 box on the project edit, as with the current code the container and the select box were selected
It makes it possible to set script loading on a specific page to defer. Simply set @page_defer_javascript
to true
and all scripts will get the defer="defer" attribute.
To boost performance already on specific pages. Later on we can reuse the javascript_tag overwrite exactly in the opposite way so all scripts are defer except specific ones.
master
(if it does - rebase it please)Closes #34904 (closed)
Fixed a problem with the select2 box on the project edit, as with the current code the container and the select box were selected