[Web] Async Rspamd graph loading to prevent races (todo: changeme)
This commit is contained in:
parent
e7a5c98704
commit
6c28ebfc87
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user