aboutsummaryrefslogtreecommitdiff
path: root/src/fields/documentSchemas.ts
diff options
context:
space:
mode:
authorusodhi <61431818+usodhi@users.noreply.github.com>2020-06-11 12:03:14 +0530
committerusodhi <61431818+usodhi@users.noreply.github.com>2020-06-11 12:03:14 +0530
commit61b4bb9d9d7378d5d28cec7a1a3fc5a1b89f0978 (patch)
tree70e477fe65a792c2a3cc137b964fbce018d8751a /src/fields/documentSchemas.ts
parente4585532840eab1f486024a994d640c16a0e1f7d (diff)
parent4ec18458fd21bd7d7307a3bab2e787346fc3ed0d (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into grid_view_secondary
Diffstat (limited to 'src/fields/documentSchemas.ts')
-rw-r--r--src/fields/documentSchemas.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fields/documentSchemas.ts b/src/fields/documentSchemas.ts
index 353333028..40dadf5a8 100644
--- a/src/fields/documentSchemas.ts
+++ b/src/fields/documentSchemas.ts
@@ -84,7 +84,7 @@ export const documentSchema = createSchema({
_lockedTransform: "boolean",// whether a freeformview can pan/zoom
// drag drop properties
- cantLeaveCollection: "boolean",// whether document can be dropped into a different collection
+ stayInCollection: "boolean",// whether document can be dropped into a different collection
dragFactory: Doc, // the document that serves as the "template" for the onDragStart script. ie, to drag out copies of the dragFactory document.
dropAction: "string", // override specifying what should happen when this document is dropped (can be "alias", "copy", "move")
targetDropAction: "string", // allows the target of a drop event to specify the dropAction ("alias", "copy", "move") NOTE: if the document is dropped within the same collection, the dropAction is coerced to 'move'