Mikesch-mp / icingaweb2-module-grafana

Grafana module for Icinga Web 2 (supports InfluxDB & Graphite)
https://icinga.com/community/
GNU General Public License v2.0
241 stars 94 forks source link

Don't use deprecated jQuery features #264

Closed nilmerg closed 3 years ago

nilmerg commented 3 years ago

Icinga Web 2.7 upgraded the shipped jQuery version from 2.x to 3.x. With this some deprecated features are not available anymore. We are currently shipping jQuery-migrate since then as well, which acts as a temporary compatibility layer and ensures modules using these features will still work. Though, jQuery-migrate will be removed with Icinga Web 2.9 (https://github.com/Icinga/icingaweb2/issues/3869) and any code still making use of those features will break.

This changes such a usage so that it will still work. I didn't have a more detailed look if you're making use of more such features. Please do so on your own. (Or anyone else) Might come in handy: https://jquery.com/upgrade-guide/3.0/