[Web] Async Rspamd graph loading to prevent races (todo: changeme)

This commit is contained in:
andryyy 2020-04-27 20:48:32 +02:00
parent e7a5c98704
commit 6c28ebfc87
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF

View File

@ -404,6 +404,7 @@ jQuery(function($){
function rspamd_pie_graph() { function rspamd_pie_graph() {
$.ajax({ $.ajax({
url: '/api/v1/get/rspamd/actions', url: '/api/v1/get/rspamd/actions',
async: false,
success: function(data){ success: function(data){
var total = 0; var total = 0;