aboutsummaryrefslogtreecommitdiff
path: root/src/new_fields/documentSchemas.ts
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-04-30 11:10:27 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-04-30 11:10:27 -0400
commit0f4b9e541e4e1332bbed95f4a99113162ffef806 (patch)
treeb59258deee6dad062252eaf6e2e07e7fe82f2036 /src/new_fields/documentSchemas.ts
parent9adbc15b97c05bd506e3b70f57b2e6b9eb0fcfa7 (diff)
added double click script support
Diffstat (limited to 'src/new_fields/documentSchemas.ts')
-rw-r--r--src/new_fields/documentSchemas.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/new_fields/documentSchemas.ts b/src/new_fields/documentSchemas.ts
index 7a0be8863..5ca0d681e 100644
--- a/src/new_fields/documentSchemas.ts
+++ b/src/new_fields/documentSchemas.ts
@@ -81,6 +81,7 @@ export const collectionSchema = createSchema({
childLayout: Doc, // layout template for children of a collecion
childDetailView: Doc, // layout template to apply to a child when its clicked on in a collection and opened (requires onChildClick or other script to use this field)
onChildClick: ScriptField, // script to run for each child when its clicked
+ onChildDoubleClick: ScriptField, // script to run for each child when its clicked
onCheckedClick: ScriptField, // script to run when a checkbox is clicked next to a child in a tree view
});