Skip to content
Snippets Groups Projects
Commit 4afe97cf authored by Markus Escher's avatar Markus Escher
Browse files

remove ActivityEntity SUBJECT onValueChange

parent 4913b579
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,6 @@
<title>Subject</title>
<mandatory v="true" />
<groupable v="false" />
<onValueChange>%aditoprj%/entity/Activity_entity/entityfields/subject/onValueChange.js</onValueChange>
</entityField>
<entityParameter>
<name>RowId_param</name>
......
import("system.util");
import("system.db");
import("system.neon");
import("system.vars");
import("Context_lib");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW
&& vars.exists("$param.RowId_param") && vars.get("$param.RowId_param")
&& vars.exists("$param.ObjectId_param") && vars.get("$param.ObjectId_param"))
{
neon.addRecord(null, "Links", {
"OBJECT_TYPE" : vars.get("$param.ObjectId_param"),
"OBJECT_ROWID" : vars.get("$param.RowId_param")
});
}
\ 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