Werk #15288: Remove HTMLGenerator.add_default_javascript function
Komponente | Setup | ||
Titel | Remove HTMLGenerator.add_default_javascript function | ||
Datum | 12.07.2023 | ||
Level | Kleine Änderung | ||
Klasse | Neues Feature | ||
Kompatibilität | Inkompatibel - Manuelle Interaktion könnte erforderlich sein | ||
Checkmk versions & editions |
|
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")