From 2041a6ad3f42855638382c1c5af57f9798439099 Mon Sep 17 00:00:00 2001 From: Benjamin Dalsass Date: Fri, 9 Jun 2023 10:40:24 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B0803=20-=20Allow=20display=20&=20edition?= =?UTF-8?q?=20of=20attributes=20on=20n:n=20relations=20on=20Portal=20-=20R?= =?UTF-8?q?emove=20column=20mandatory=20information=20when=20object=20is?= =?UTF-8?q?=20in=20view=20mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Bootstrap/FieldRenderer/BsLinkedSetFieldRenderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/Renderer/Bootstrap/FieldRenderer/BsLinkedSetFieldRenderer.php b/sources/Renderer/Bootstrap/FieldRenderer/BsLinkedSetFieldRenderer.php index 3b2dc859af..df31f842c9 100644 --- a/sources/Renderer/Bootstrap/FieldRenderer/BsLinkedSetFieldRenderer.php +++ b/sources/Renderer/Bootstrap/FieldRenderer/BsLinkedSetFieldRenderer.php @@ -212,7 +212,7 @@ EOF "defaultContent": "", "type": "html", "data": "attributes.lnk__" + sKey, - "className": aColumnProperties.mandatory ? 'mandatory' : '', + "className": {$sIsEditable} && aColumnProperties.mandatory ? 'mandatory' : '', "render": function(data, type, row){ var cellElem;