From: Vsevolod Stakhov Date: Sun, 9 Apr 2017 09:40:30 +0000 (+0100) Subject: [WebUI] Fix history v2 display X-Git-Tag: 1.5.5~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3aa4586c6e23687b263194bf76e151891c3cf24d;p=rspamd.git [WebUI] Fix history v2 display --- diff --git a/interface/js/app/history.js b/interface/js/app/history.js index 8c3db7b9d..c2e866880 100644 --- a/interface/js/app/history.js +++ b/interface/js/app/history.js @@ -65,7 +65,7 @@ function($, _, Humanize) { function process_history_v2(data) { var items = []; - $.each(data.rows.map(function(elt) { return JSON.parse(elt);}), + $.each(data.rows, function (i, item) { preprocess_item(item);