From fafa324891ab358bcac7fae1d2b1b29b6e2e1c9d Mon Sep 17 00:00:00 2001 From: "b.ulrich" <b.ulrich@adito.de> Date: Thu, 30 Jul 2020 15:01:59 +0200 Subject: [PATCH] =?UTF-8?q?[Projekt:=20Entwicklung=20-=20Neon][TicketNr.:?= =?UTF-8?q?=201059557]["Untergeordnete=20Eigenschaft=20anlegen"-Button=20f?= =?UTF-8?q?=C3=BCr=20den=20Typ=20"Auswahl"=20nicht=20aktiv]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../attributeactions/children/newchildattribute/stateProcess.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entity/Attribute_entity/entityfields/attributeactions/children/newchildattribute/stateProcess.js b/entity/Attribute_entity/entityfields/attributeactions/children/newchildattribute/stateProcess.js index 1d16d29705..89793c57e8 100644 --- a/entity/Attribute_entity/entityfields/attributeactions/children/newchildattribute/stateProcess.js +++ b/entity/Attribute_entity/entityfields/attributeactions/children/newchildattribute/stateProcess.js @@ -3,7 +3,7 @@ import("system.result"); import("system.vars"); import("system.neon"); -if(vars.get("$sys.selection").length == 1 && (vars.get("$field.ATTRIBUTE_TYPE") == $AttributeTypes.GROUP.toString() || vars.get("$field.ATTRIBUTE_TYPE") == $AttributeTypes.OBJECTSELECTION.toString())) +if(vars.get("$sys.selection").length == 1 && vars.get("$field.ATTRIBUTE_TYPE") != $AttributeTypes.OBJECTSELECTION.toString()) result.string(neon.COMPONENTSTATE_EDITABLE); else result.string(neon.COMPONENTSTATE_DISABLED); \ No newline at end of file -- GitLab