diff options
author | moisseev <moiseev@mezonplus.ru> | 2020-11-20 13:14:54 +0300 |
---|---|---|
committer | moisseev <moiseev@mezonplus.ru> | 2020-11-20 13:14:54 +0300 |
commit | 94744ca826eec8bb8d755af28bca63a350104f60 (patch) | |
tree | c556b943f67c4c9145ca308bb21bc35a9f8edc5d /interface/js/app/graph.js | |
parent | dfaee5db385c9990d50757310022892610d0751c (diff) | |
download | rspamd-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.js | 1 |
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} |