aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentBox.tsx
diff options
context:
space:
mode:
authorSam Wilkins <samwilkins333@gmail.com>2020-04-03 17:37:47 -0700
committerSam Wilkins <samwilkins333@gmail.com>2020-04-03 17:37:47 -0700
commitf82c74fe04e52bd02f24ab445a5c24ce2ed1392d (patch)
tree49f2456ae19d48b2f42eb1207134680f1085a51e /src/client/views/nodes/DocumentBox.tsx
parent3949f6a094f835e495562ab5484b23ade3d1003f (diff)
parentc8361cd6072ff257c41fceab9f5fd36aa9d49403 (diff)
Merge branch 'search_doc' of https://github.com/browngraphicslab/Dash-Web into search_doc
Diffstat (limited to 'src/client/views/nodes/DocumentBox.tsx')
-rw-r--r--src/client/views/nodes/DocumentBox.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/DocumentBox.tsx b/src/client/views/nodes/DocumentBox.tsx
index debe104d7..47118e758 100644
--- a/src/client/views/nodes/DocumentBox.tsx
+++ b/src/client/views/nodes/DocumentBox.tsx
@@ -122,6 +122,7 @@ export class DocumentBox extends DocAnnotatableComponent<FieldViewProps, DocBoxS
CollectionView={this as any} // bcz: hack! need to pass a prop that can be used to select the container (ie, 'this') when the up selector in document decorations is clicked. currently, the up selector allows only a containing collection to be selected
fitToBox={this.props.fitToBox}
layoutKey={"layout_" + childTemplateName}
+ rootSelected={this.props.isSelected}
addDocument={this.props.addDocument}
moveDocument={this.props.moveDocument}
removeDocument={this.props.removeDocument}