Werk #15288 · Jul 12, 23
Remove HTMLGenerator.add_default_javascript function
Incompatible change. Existing setups may behave differently after upgrading. Review the details below before updating.
MKPs that use custom javascript code may be affected by this change. A typical usage of this function may look like:
html.add_default_javascript("custom_id")
There is no 1:1 replacement for this call, but several ways to do similar things:
html.javascript("inlined_javascript_code();")
html.javascript_file("browser/path/to_javascriptfile.js")
Details
- Class:
- New Features
- Level:
- Trivial
- Component:
- Setup (WATO)
- Versions:
- 2.3.0b1CommunityProUltimateUltimate + MT