aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js/app/rspamd.js
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2018-08-23 20:09:45 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2018-08-26 21:57:49 +0300
commit5a0fb76c7c613fa9d41ef1a7b17110a25b54b245 (patch)
tree0f50b3c1d417a8d7a7021799ba730a69816d5bf8 /interface/js/app/rspamd.js
parente94ceeaf832692de3f3f212701c7a6dd74cd98d6 (diff)
downloadrspamd-5a0fb76c7c613fa9d41ef1a7b17110a25b54b245.tar.gz
rspamd-5a0fb76c7c613fa9d41ef1a7b17110a25b54b245.zip
[WebUI] Avoid history table reinitialization
Diffstat (limited to 'interface/js/app/rspamd.js')
-rw-r--r--interface/js/app/rspamd.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/interface/js/app/rspamd.js b/interface/js/app/rspamd.js
index 300313159..644fbbed6 100644
--- a/interface/js/app/rspamd.js
+++ b/interface/js/app/rspamd.js
@@ -123,8 +123,8 @@ function ($, d3pie, visibility, tab_stat, tab_graph, tab_config,
tab_symbols.getSymbols(ui, checked_server);
break;
case "#history_nav":
- tab_history.getHistory(ui, tables, neighbours, checked_server);
- tab_history.getErrors(ui, tables, neighbours, checked_server);
+ tab_history.getHistory(ui, tables);
+ tab_history.getErrors(ui, tables);
break;
case "#disconnect":
disconnect();
@@ -165,6 +165,7 @@ function ($, d3pie, visibility, tab_stat, tab_graph, tab_config,
} else {
$("#learning_nav").show();
$("#resetHistory").removeAttr("disabled", true);
+ $("#errors-history").show();
}
var buttons = $("#navBar .pull-right");
@@ -288,6 +289,7 @@ function ($, d3pie, visibility, tab_stat, tab_graph, tab_config,
}
});
tab_config.setup(ui);
+ tab_history.setup(ui, tables);
tab_symbols.setup(ui);
tab_upload.setup(ui);
selData = tab_graph.setup();