From: Anna Stakhova Date: Mon, 9 Jan 2017 11:00:15 +0000 (+0000) Subject: [WebUI] Fix config ID X-Git-Tag: 1.5.0~402^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3708605e53640eb4fa2a0267a4755a42b4adc4fa;p=rspamd.git [WebUI] Fix config ID --- 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) + ''); } });