Skip to content
Snippets Groups Projects
Commit 275f4ebb authored by Andreas Schindlbeck's avatar Andreas Schindlbeck
Browse files

#1041362 Attendees werden beim Terminerstellen wieder richtig aufgenommen

parent be9b8bb2
No related branches found
No related tags found
No related merge requests found
......@@ -75,6 +75,7 @@
<entityField>
<name>ATTENDEES</name>
<dropDownProcess>%aditoprj%/entity/Appointment_entity/entityfields/attendees/dropDownProcess.js</dropDownProcess>
<valueProcess>%aditoprj%/entity/Appointment_entity/entityfields/attendees/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>TRANSPARENCY</name>
......
import("system.neon");
import("system.vars");
import("system.calendars");
import("system.result");
/**
* Following if() is only for passing param-parts from "new Appointment"-Dialog to AppointmentEditViewTemplate
*/
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW && vars.exists("$param.Entry_param") && vars.get("$this.value") == null)
{
var event = JSON.parse(vars.getString("$param.Entry_param"));
if(event[calendars.AFFECTEDUSERS])
result.string(event[calendars.AFFECTEDUSERS]);
}
else
result.string(vars.get("$this.value"));
\ 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