Skip to content
Snippets Groups Projects
Commit 8e2a7b86 authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

Merge branch '1052591_FixNewChildAttributeAction' into '2020.1.0'

[Projekt: Entwicklung - Neon][TicketNr.: 1052591][[Eigenschaft] - Button...

See merge request xrm/basic!241
parents 4a206183 32ed646b
No related branches found
No related tags found
No related merge requests found
......@@ -323,6 +323,8 @@
<isObjectAction v="false" />
<isSelectionAction v="true" />
<iconId>VAADIN:FILE_TREE_SMALL</iconId>
<state>AUTO</state>
<stateProcess>%aditoprj%/entity/Attribute_entity/entityfields/attributeactions/children/newchildattribute/stateProcess.js</stateProcess>
</entityActionField>
</children>
</entityActionGroup>
......
import("Attribute_lib");
import("system.result");
import("system.vars");
import("system.neon");
if(vars.get("$sys.selection").length == 1 && vars.get("$field.ATTRIBUTE_TYPE") == $AttributeTypes.GROUP.toString())
result.string(neon.COMPONENTSTATE_EDITABLE)
else
result.string(neon.COMPONENTSTATE_DISABLED)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment