From: Alexander Moisseev Date: Tue, 13 Dec 2016 14:33:59 +0000 (+0300) Subject: [WebUI] Disable error ring loading in `read only` mode X-Git-Tag: 1.5.0~598^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=79b0b2d114d7767486993064a9705e7f7f357b3b;p=rspamd.git [WebUI] Disable error ring loading in `read only` mode --- 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();