diff --git a/source/app/static/assets/js/iris/common.js b/source/app/static/assets/js/iris/common.js index ce1abd15a..668bf61bf 100644 --- a/source/app/static/assets/js/iris/common.js +++ b/source/app/static/assets/js/iris/common.js @@ -72,10 +72,11 @@ function ellipsis_field( data, cutoff, wordbreak ) { function ret_obj_dt_description(data) { let anchor = $(''); + let dataContent = typeof data === 'object' ? JSON.stringify(data) : data; anchor.attr('data-toggle', 'popover') .attr('data-trigger', 'hover') .attr('title', 'Description') - .attr('data-content', data) + .attr('data-content', dataContent) .attr('href', '#') .css('cursor', 'pointer') .text(ellipsis_field_raw(data, 64));