diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2018-08-27 19:26:44 +0300 |
---|---|---|
committer | Alexander Moisseev <moiseev@mezonplus.ru> | 2018-08-27 19:26:44 +0300 |
commit | 9c770550de91f4c5075616db57a6f7d3299c072e (patch) | |
tree | 0b828e34994571318cd9efea3ef43b627330a20f /interface/js/app/rspamd.js | |
parent | 08b280f0e30d7bf6a3878265a0efe4337f5359b4 (diff) | |
download | rspamd-9c770550de91f4c5075616db57a6f7d3299c072e.tar.gz rspamd-9c770550de91f4c5075616db57a6f7d3299c072e.zip |
[Minor] Destroy symbols table on disconnect
Diffstat (limited to 'interface/js/app/rspamd.js')
-rw-r--r-- | interface/js/app/rspamd.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/interface/js/app/rspamd.js b/interface/js/app/rspamd.js index 644fbbed6..5472dc284 100644 --- a/interface/js/app/rspamd.js +++ b/interface/js/app/rspamd.js @@ -44,9 +44,6 @@ function ($, d3pie, visibility, tab_stat, tab_graph, tab_config, $("#statWidgets").empty(); $("#listMaps").empty(); $("#modalBody").empty(); - $("#historyLog tbody").remove(); - $("#errorsLog tbody").remove(); - $("#symbolsTable tbody").remove(); } function stopTimers() { @@ -120,7 +117,7 @@ function ($, d3pie, visibility, tab_stat, tab_graph, tab_config, tab_config.getMaps(ui, checked_server); break; case "#symbols_nav": - tab_symbols.getSymbols(ui, checked_server); + tab_symbols.getSymbols(ui, tables, checked_server); break; case "#history_nav": tab_history.getHistory(ui, tables); @@ -290,7 +287,7 @@ function ($, d3pie, visibility, tab_stat, tab_graph, tab_config, }); tab_config.setup(ui); tab_history.setup(ui, tables); - tab_symbols.setup(ui); + tab_symbols.setup(ui, tables); tab_upload.setup(ui); selData = tab_graph.setup(); }; |