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/stats.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/stats.js')
-rw-r--r-- | interface/js/app/stats.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/interface/js/app/stats.js b/interface/js/app/stats.js index 582c5017f..b674d25c3 100644 --- a/interface/js/app/stats.js +++ b/interface/js/app/stats.js @@ -367,6 +367,7 @@ define(["jquery", "d3pie"], }); }, promises.length ? 100 : 0); }, + complete: function () { $("#refresh").removeAttr("disabled").removeClass("disabled"); }, errorMessage: "Cannot receive stats data", errorOnceId: "alerted_stats_", server: "All SERVERS" |