aboutsummaryrefslogtreecommitdiffstats
path: root/interface
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2016-12-13 17:33:59 +0300
committerGitHub <noreply@github.com>2016-12-13 17:33:59 +0300
commit79b0b2d114d7767486993064a9705e7f7f357b3b (patch)
tree8d1a5c1ae223ccf908810f32480cf8419814db5b /interface
parent8991fd4d6d9111032e1fd887e612c09ab665d934 (diff)
downloadrspamd-79b0b2d114d7767486993064a9705e7f7f357b3b.tar.gz
rspamd-79b0b2d114d7767486993064a9705e7f7f357b3b.zip
[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 ec273f27f..b537773f8 100644
--- a/interface/js/rspamd.js
+++ b/interface/js/rspamd.js
@@ -648,6 +648,7 @@
}
function getErrors() {
+ if (read_only) return;
if (errors) {
errors.destroy();