From 63a24d3796db906e8d1924e09fb8828c2f6cd2cc Mon Sep 17 00:00:00 2001 From: Sergio Betanzos Date: Tue, 12 May 2020 14:50:58 +0200 Subject: [PATCH] F #4711: Allow to add link attribute as hyperlink (#4712) --- src/sunstone/public/app/utils/panel/template-table.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/sunstone/public/app/utils/panel/template-table.js b/src/sunstone/public/app/utils/panel/template-table.js index c08758b877..dd847211c9 100644 --- a/src/sunstone/public/app/utils/panel/template-table.js +++ b/src/sunstone/public/app/utils/panel/template-table.js @@ -430,7 +430,11 @@ define(function(require) { modify ); } else { - str += '' + Locale.tr(field) + '' + TemplateUtils.htmlEncode(value) + ''; + str += '' + Locale.tr(field) + ''; + str += (field.toLowerCase() === "link") + ? '' + TemplateUtils.htmlEncode(value) + '' + : TemplateUtils.htmlEncode(value) + ''; + if (modify) { var edit_html = ""; var delete_html = "";