From 3708605e53640eb4fa2a0267a4755a42b4adc4fa Mon Sep 17 00:00:00 2001 From: Anna Stakhova Date: Mon, 9 Jan 2017 11:00:15 +0000 Subject: [PATCH] [WebUI] Fix config ID --- interface/index.html | 21 --------------------- interface/js/rspamd.js | 4 ++-- 2 files changed, 2 insertions(+), 23 deletions(-) diff --git a/interface/index.html b/interface/index.html index d73acf7a7..e5f6340c1 100644 --- a/interface/index.html +++ b/interface/index.html @@ -81,27 +81,6 @@ Configuration ID - - - ALL SERVERS - - - ????????????? - - - - Server1 - localhost:8080 - - ????????????? - - - - Server2 - localhost:8080 - - ????????????? - diff --git a/interface/js/rspamd.js b/interface/js/rspamd.js index eec754cb4..be757ce4d 100644 --- a/interface/js/rspamd.js +++ b/interface/js/rspamd.js @@ -380,14 +380,14 @@ '' + key + '' + '' + val.host + '' + '' + - '' + val.data.config_id + ''); + '' + val.data.config_id.substring(0, 8) + ''); } else { $('#clusterTable tbody').append('' + '' + '' + key + '' + '' + val.host + '' + '' + - '' + val.data.config_id + ''); + '' + val.data.config_id.substring(0, 8) + ''); } }); -- 2.39.5