From 5804cd8b119c84b59d85e9d2d15a205d4beaf24e Mon Sep 17 00:00:00 2001 From: "S.Listl" <S.Listl@SLISTL.aditosoftware.local> Date: Mon, 16 Dec 2019 14:20:43 +0100 Subject: [PATCH] Activity fixed document upload --- entity/Activity_entity/recordcontainers/db/onDBInsert.js | 4 ++-- entity/Person_entity/Person_entity.aod | 4 ---- language/_____LANGUAGE_de/_____LANGUAGE_de.aod | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/entity/Activity_entity/recordcontainers/db/onDBInsert.js b/entity/Activity_entity/recordcontainers/db/onDBInsert.js index abe4a1bcfa7..ea5eb09938c 100644 --- a/entity/Activity_entity/recordcontainers/db/onDBInsert.js +++ b/entity/Activity_entity/recordcontainers/db/onDBInsert.js @@ -6,11 +6,11 @@ import("system.db"); var upload = new FileUpload(vars.get("$field.bindata")); if (upload.isFilled()) { - documents = [ + documents = [[ upload.filename, upload.bindata, false - ]; + ]]; } else { diff --git a/entity/Person_entity/Person_entity.aod b/entity/Person_entity/Person_entity.aod index 4d85f3c9a17..36777842a74 100644 --- a/entity/Person_entity/Person_entity.aod +++ b/entity/Person_entity/Person_entity.aod @@ -1032,10 +1032,6 @@ Usually this is used for filtering COMMUNICATION-entries by a specified contact <title>Country</title> <valueProcess>%aditoprj%/entity/Person_entity/entityfields/standard_country/valueProcess.js</valueProcess> </entityField> - <entityActionField> - <name>ActionField</name> - <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/actionfield/onActionProcess.js</onActionProcess> - </entityActionField> <entityParameter> <name>OnlyOwnSupervised_param</name> <expose v="true" /> diff --git a/language/_____LANGUAGE_de/_____LANGUAGE_de.aod b/language/_____LANGUAGE_de/_____LANGUAGE_de.aod index 5cfdc91fc4b..a249fd93285 100644 --- a/language/_____LANGUAGE_de/_____LANGUAGE_de.aod +++ b/language/_____LANGUAGE_de/_____LANGUAGE_de.aod @@ -2176,7 +2176,7 @@ </entry> <entry> <key>New attribute</key> - <value>Neues Attribut</value> + <value>Neue Eigenschaft</value> </entry> <entry> <key>Solomon Islands</key> -- GitLab