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