Skip to content
Snippets Groups Projects
Commit f89d06bd authored by Sebastian Listl's avatar Sebastian Listl :speech_balloon:
Browse files

1074374 improved Observation fields checkbox behaviour

parent 21a1a8e2
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,6 @@
<stateProcess>%aditoprj%/entity/Observation_entity/entityfields/object_type/stateProcess.js</stateProcess>
<valueProcess>%aditoprj%/entity/Observation_entity/entityfields/object_type/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/Observation_entity/entityfields/object_type/displayValueProcess.js</displayValueProcess>
<onValueChange>%aditoprj%/entity/Observation_entity/entityfields/object_type/onValueChange.js</onValueChange>
</entityField>
<entityField>
<name>OBJECT_ID</name>
......@@ -142,6 +141,7 @@
<name>OBJECT_FIELD</name>
<title>Fields</title>
<contentType>TEXT</contentType>
<mandatory v="true" />
<dropDownProcess>%aditoprj%/entity/Observation_entity/entityfields/object_field/dropDownProcess.js</dropDownProcess>
<selectionMode>MULTI</selectionMode>
<stateProcess>%aditoprj%/entity/Observation_entity/entityfields/object_field/stateProcess.js</stateProcess>
......
import("system.neon");
import("Observation_lib");
import("system.vars");
if (vars.get("$sys.operatingstate") == neon.OPERATINGSTATE_NEW)
vars.set("$field.OBJECT_FIELD",null);
\ 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