aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js/app/graph.js
diff options
context:
space:
mode:
authormoisseev <moiseev@mezonplus.ru>2020-11-20 13:14:54 +0300
committermoisseev <moiseev@mezonplus.ru>2020-11-20 13:14:54 +0300
commit94744ca826eec8bb8d755af28bca63a350104f60 (patch)
treec556b943f67c4c9145ca308bb21bc35a9f8edc5d /interface/js/app/graph.js
parentdfaee5db385c9990d50757310022892610d0751c (diff)
downloadrspamd-94744ca826eec8bb8d755af28bca63a350104f60.tar.gz
rspamd-94744ca826eec8bb8d755af28bca63a350104f60.zip
[WebUI] Disable Refresh until ongoing requests
are finished
Diffstat (limited to 'interface/js/app/graph.js')
-rw-r--r--interface/js/app/graph.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface/js/app/graph.js b/interface/js/app/graph.js
index d2e3c5ac6..54daf79c1 100644
--- a/interface/js/app/graph.js
+++ b/interface/js/app/graph.js
@@ -285,6 +285,7 @@ define(["jquery", "d3evolution", "footable"],
}
updateWidgets(data);
},
+ complete: function () { $("#refresh").removeAttr("disabled").removeClass("disabled"); },
errorMessage: "Cannot receive throughput data",
errorOnceId: "alerted_graph_",
data: {type:type}