aboutsummaryrefslogtreecommitdiffstats
path: root/interface
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-13 14:36:23 +0000
committerGitHub <noreply@github.com>2016-12-13 14:36:23 +0000
commit634a8b69dd407a79ca2fae32493710985bffa32c (patch)
treeb0908801895c8ca21a8b48d5aeb15f983c30fe25 /interface
parent2523e1fce8dc1167be2151f2264037e9e3047b66 (diff)
parent79b0b2d114d7767486993064a9705e7f7f357b3b (diff)
downloadrspamd-634a8b69dd407a79ca2fae32493710985bffa32c.tar.gz
rspamd-634a8b69dd407a79ca2fae32493710985bffa32c.zip
Merge pull request #1257 from moisseev/patch-1
[WebUI] Disable error ring loading in `read only` mode
Diffstat (limited to 'interface')
-rw-r--r--interface/js/rspamd.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface/js/rspamd.js b/interface/js/rspamd.js
index 9909d879e..223933473 100644
--- a/interface/js/rspamd.js
+++ b/interface/js/rspamd.js
@@ -647,6 +647,7 @@
}
function getErrors() {
+ if (read_only) return;
if (errors) {
errors.destroy();