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: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1257%2Fhead;p=thirdparty%2Frspamd.git [WebUI] Disable error ring loading in `read only` mode --- diff --git a/interface/js/rspamd.js b/interface/js/rspamd.js index ec273f27f9..b537773f8e 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();