prometheus/web/ui/static/js
slava 5e974d3170 Fix context for the showWarning function (#5833)
* Fix context for the showWarning function

If the difference between the current time on a client and time on a server is quite big, Prometheus tries to show a related warning in UI on the Graph tab. But in the code, an incorrect context is used to invoke this method. As a result, an error is showed in the web developer console and the whole page stop working at all. This commit fixes the context.

CC @juliusv

Signed-off-by: Vyacheslav Kulakov <vkulakov@swiftserve.com>

* Fix context for the showWarning function

Fixed assets

CC @juliusv

Signed-off-by: Vyacheslav Kulakov <vkulakov@swiftserve.com>
2019-08-05 20:03:12 +02:00
..
graph Fix context for the showWarning function (#5833) 2019-08-05 20:03:12 +02:00
alerts.js Make show annotations checkbox match query history checkbox (#3936) 2018-03-09 14:39:28 +01:00
config.js /config: Added Copy to clipboard button for /config (#4410) 2018-11-27 16:05:26 +08:00
prom_console.js ui: Fix hover when metric has null value. (#4906) 2018-11-25 14:16:48 +08:00
targets.js Web UI QoL improvements (#5201) 2019-02-12 00:22:05 +01:00