Skip to content
Snippets Groups Projects
Commit 382395d8 authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

Merge origin/master

parents b6a223c0 ed991e1a
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<title>Termin</title> <title>Termin</title>
<majorModelMode>DISTRIBUTED</majorModelMode> <majorModelMode>DISTRIBUTED</majorModelMode>
<documentation>%aditoprj%/entity/Appointment_entity/documentation.adoc</documentation> <documentation>%aditoprj%/entity/Appointment_entity/documentation.adoc</documentation>
<recordContainer>jDitoRC</recordContainer> <recordContainer>jdito</recordContainer>
<entityFields> <entityFields>
<entityField> <entityField>
<name>SUMMARY</name> <name>SUMMARY</name>
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
<name>#PROVIDER</name> <name>#PROVIDER</name>
</entityProvider> </entityProvider>
<entityParameter> <entityParameter>
<name>masterEntry</name> <name>MasterEntry_param</name>
<expose v="true" /> <expose v="true" />
<description>PARAMETER</description> <description>PARAMETER</description>
</entityParameter> </entityParameter>
...@@ -125,21 +125,21 @@ ...@@ -125,21 +125,21 @@
<name>ICON</name> <name>ICON</name>
</entityField> </entityField>
<entityParameter> <entityParameter>
<name>entry</name> <name>Entry_param</name>
<expose v="true" /> <expose v="true" />
<description>PARAMETER</description> <description>PARAMETER</description>
</entityParameter> </entityParameter>
</entityFields> </entityFields>
<recordContainers> <recordContainers>
<jDitoRecordContainer> <jDitoRecordContainer>
<name>jDitoRC</name> <name>jdito</name>
<title>jDitoRC</title> <title>jdito</title>
<description></description> <description></description>
<jDitoRecordAlias>_____SYSTEMALIAS</jDitoRecordAlias> <jDitoRecordAlias>_____SYSTEMALIAS</jDitoRecordAlias>
<contentProcess>%aditoprj%/entity/Appointment_entity/recordcontainers/jditorc/contentProcess.js</contentProcess> <contentProcess>%aditoprj%/entity/Appointment_entity/recordcontainers/jdito/contentProcess.js</contentProcess>
<onInsert>%aditoprj%/entity/Appointment_entity/recordcontainers/jditorc/onInsert.js</onInsert> <onInsert>%aditoprj%/entity/Appointment_entity/recordcontainers/jdito/onInsert.js</onInsert>
<onUpdate>%aditoprj%/entity/Appointment_entity/recordcontainers/jditorc/onUpdate.js</onUpdate> <onUpdate>%aditoprj%/entity/Appointment_entity/recordcontainers/jdito/onUpdate.js</onUpdate>
<onDelete>%aditoprj%/entity/Appointment_entity/recordcontainers/jditorc/onDelete.js</onDelete> <onDelete>%aditoprj%/entity/Appointment_entity/recordcontainers/jdito/onDelete.js</onDelete>
<recordFields> <recordFields>
<element>UID.value</element> <element>UID.value</element>
<element>ATTENDEESLENGTH.value</element> <element>ATTENDEESLENGTH.value</element>
...@@ -167,4 +167,3 @@ ...@@ -167,4 +167,3 @@
</jDitoRecordContainer> </jDitoRecordContainer>
</recordContainers> </recordContainers>
</entity> </entity>
...@@ -3,7 +3,7 @@ import("system.logging"); ...@@ -3,7 +3,7 @@ import("system.logging");
import("system.result"); import("system.result");
import("system.calendars"); import("system.calendars");
var entry = JSON.parse(vars.getString("param.entry")); var entry = JSON.parse(vars.getString("$param.Entry_param"));
var allUsers = calendars.getFullCalendarUsers(calendars.RIGHT_WRITE); var allUsers = calendars.getFullCalendarUsers(calendars.RIGHT_WRITE);
var results = []; var results = [];
......
...@@ -42,8 +42,7 @@ if(vars.exists("$param.Entry_param")) ...@@ -42,8 +42,7 @@ if(vars.exists("$param.Entry_param"))
} else { } else {
rrule = entry[calendars.RRULE] != null ? entry[calendars.RRULE][0] : null; rrule = entry[calendars.RRULE] != null ? entry[calendars.RRULE][0] : null;
} }
// logging.log("contentProcess summary: " + summary);
//@TODO Icon //@TODO Icon
result.object([ result.object([
......
...@@ -3,7 +3,7 @@ import("system.neon"); ...@@ -3,7 +3,7 @@ import("system.neon");
import("system.calendars"); import("system.calendars");
import("system.vars"); import("system.vars");
//logging.log("onDelete has var: " + vars.exists("$param.Entry_param"))
if (vars.exists("$param.Entry_param")) if (vars.exists("$param.Entry_param"))
{ {
var entry = JSON.parse(vars.getString("$param.Entry_param")); var entry = JSON.parse(vars.getString("$param.Entry_param"));
......
...@@ -10,10 +10,7 @@ import("system.db"); ...@@ -10,10 +10,7 @@ import("system.db");
import("system.result"); import("system.result");
import("system.tools"); import("system.tools");
//logging.log("on Insert has var: " + vars.exists("$param.Entry_param"));
var event = JSON.parse(vars.getString("$param.Entry_param")); var event = JSON.parse(vars.getString("$param.Entry_param"));
var ok = false;
event[calendars.TYPE] = calendars.VEVENT; event[calendars.TYPE] = calendars.VEVENT;
event[calendars.ID] = ""; //wenn hier neue id erstellt und mitgegeben wird, wird versucht einen termin mit dieser id zu finden, den es nicht gibt. also leer. event[calendars.ID] = ""; //wenn hier neue id erstellt und mitgegeben wird, wird versucht einen termin mit dieser id zu finden, den es nicht gibt. also leer.
......
...@@ -14,7 +14,7 @@ import("system.tools"); ...@@ -14,7 +14,7 @@ import("system.tools");
// Dieser Prozess speichert die im Frame angezeigten Daten // Dieser Prozess speichert die im Frame angezeigten Daten
// Je nach Modus (INSERT, EDIT) wird ein neuer Datensatz angelegt oder der alte editiert // Je nach Modus (INSERT, EDIT) wird ein neuer Datensatz angelegt oder der alte editiert
//logging.log("onUpdate has var: "+ vars.exists("$param.Entry_param"));
if(vars.exists("$param.Entry_param") && vars.getString("$param.Entry_param") != "") if(vars.exists("$param.Entry_param") && vars.getString("$param.Entry_param") != "")
{ {
var event = JSON.parse(vars.getString("$param.Entry_param")); var event = JSON.parse(vars.getString("$param.Entry_param"));
......
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