diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-03-16 19:01:44 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-03-16 19:01:44 +0000 |
commit | c50e8b3532c3e9d8ef6409999ba31dc23d619e12 (patch) | |
tree | b622201b92437f4a9c47c876ecb52fc3f44c3cf9 | |
parent | db0b9be22810222912a4cdba785a1d9017df42f8 (diff) | |
download | rspamd-c50e8b3532c3e9d8ef6409999ba31dc23d619e12.tar.gz rspamd-c50e8b3532c3e9d8ef6409999ba31dc23d619e12.zip |
[WebUI] Display symbols
-rw-r--r-- | interface/js/app/history.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/interface/js/app/history.js b/interface/js/app/history.js index 3ffb01e20..a19414114 100644 --- a/interface/js/app/history.js +++ b/interface/js/app/history.js @@ -58,7 +58,7 @@ function($) { score = 'label-danger'; } - console.log(item) + var symbols = Object.keys(item.symbols); var nitem = []; nitem.push('<tr><td data-order="' + item.unix_time + '">' + @@ -77,9 +77,9 @@ function($) { '"><span class="label ' + score + '">' + item.score.toFixed(2) + ' / ' + item.required_score.toFixed(2) + '</span></td>'); - nitem.push( '<td data-order="' + item.symbols + + nitem.push( '<td data-order="' + symbols + '"><div class="cell-overflow" tabindex="1" title="' + - item.symbols + '">' + item.symbols + '</div></td>'); + symbols + '">' + symbols + '</div></td>'); nitem.push('<td data-order="' + item.size + '">' + item.size + '</td>'); nitem.push('<td data-order="' + item.time_real + '">' + |