From 39e3562624491dbc76e781978d5702d4dee733b4 Mon Sep 17 00:00:00 2001 From: Jorge Lobo <47326048+jloboescalona2@users.noreply.github.com> Date: Thu, 3 Oct 2019 13:33:39 +0200 Subject: [PATCH] F #2623: add icon (#3808) Signed-off-by: Jorge Lobo --- src/sunstone/public/app/utils/tab-datatable.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sunstone/public/app/utils/tab-datatable.js b/src/sunstone/public/app/utils/tab-datatable.js index 04a1381425..af78e950a2 100644 --- a/src/sunstone/public/app/utils/tab-datatable.js +++ b/src/sunstone/public/app/utils/tab-datatable.js @@ -910,6 +910,7 @@ define(function(require) { $('#selected_ids_row_' + that.dataTableId, section).append(span); if(that.selectOptions.click && typeof that.selectOptions.click === "function"){ span.attr("title",Locale.tr("just click if you want to delete the resource")); + span.append($("",{class: "fas fa-times"}).css({"margin-left":"5px"})); span.off("click").on("click", that.selectOptions.click); } @@ -1101,6 +1102,7 @@ define(function(require) { if(that.selectOptions.click && typeof that.selectOptions.click === "function"){ span.attr("title",Locale.tr("just click if you want to delete the resource")); + span.append($("",{class: "fas fa-times"}).css({"margin-left":"5px"})); span.off("click").on("click", that.selectOptions.click); }