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

bugfix: add comm address

parent b0d1ce53
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,7 @@
</entityField>
<entityField>
<name>STANDARD</name>
<valueProcess>%aditoprj%/entity/Comm_entity/entityfields/standard/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>USER_EDIT</name>
......
......@@ -4,5 +4,5 @@ import("system.neon");
import("system.vars");
if(vars.get("$sys.operatingstate") == neon.OPERATINGSTATE_NEW)
if(vars.get("$sys.operatingstate") == neon.OPERATINGSTATE_NEW && vars.get("$this.value") == null)
result.string(util.getNewUUID());
\ No newline at end of file
import("system.util");
import("system.result");
import("system.neon");
import("system.vars");
if(vars.get("$sys.operatingstate") == neon.OPERATINGSTATE_NEW && (vars.get("$this.value") == "" || vars.get("$this.value") == null))
result.string("0");
\ 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