]> source.dussan.org Git - rspamd.git/commitdiff
[WebUI] Disable error ring loading in `read only` mode 1257/head
authorAlexander Moisseev <moiseev@mezonplus.ru>
Tue, 13 Dec 2016 14:33:59 +0000 (17:33 +0300)
committerGitHub <noreply@github.com>
Tue, 13 Dec 2016 14:33:59 +0000 (17:33 +0300)
interface/js/rspamd.js

index ec273f27f92ba40cee33577e38602623375fe8b9..b537773f8ed3e28bdd2284ac028a69e65072738b 100644 (file)
         }
 
         function getErrors() {
+            if (read_only) return;
 
             if (errors) {
                 errors.destroy();