diff options
author | bob <bcz@cs.brown.edu> | 2019-10-21 15:45:51 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-10-21 15:45:51 -0400 |
commit | 4d02c9b581a22da777232124f2b1a96f8e342285 (patch) | |
tree | d9c433f1247ec3bad15c3ecdfdb8c342bcedec54 /src/client/views/nodes/ImageBox.tsx | |
parent | 9586d1e6bad65070a472da7a067db03f26fe9a4c (diff) |
initial simplification to fieldExt
Diffstat (limited to 'src/client/views/nodes/ImageBox.tsx')
-rw-r--r-- | src/client/views/nodes/ImageBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx index 426b9cbb4..d80e222c2 100644 --- a/src/client/views/nodes/ImageBox.tsx +++ b/src/client/views/nodes/ImageBox.tsx @@ -326,11 +326,11 @@ export class ImageBox extends DocAnnotatableComponent<FieldViewProps, ImageDocum } render() { - if (!Doc.UpdateDocumentExtensionForField(this.dataDoc, this.props.fieldKey)) return (null); return (<div className={"imageBox-container"} onContextMenu={this.specificContextMenu}> <CollectionFreeFormView {...this.props} PanelHeight={this.props.PanelHeight} PanelWidth={this.props.PanelWidth} + fieldExt={"annotations"} isAnnotationOverlay={true} focus={this.props.focus} isSelected={this.props.isSelected} |