diff options
| author | bob <bcz@cs.brown.edu> | 2019-07-10 18:51:44 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-07-10 18:51:44 -0400 |
| commit | 1864c73573cd7129c8e6994842ad4d442d959c46 (patch) | |
| tree | f489617a227c7fae0076347bb216f8d1dec45f25 /src/client/views/collections/collectionFreeForm | |
| parent | 63cb729640fb9c1a027c6c6008766f336dad2185 (diff) | |
fixed some field extension and templating things so that text templates can be used within templates.
Diffstat (limited to 'src/client/views/collections/collectionFreeForm')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index cb55a0d5d..2c9b6b6a9 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -501,7 +501,7 @@ export class CollectionFreeFormView extends CollectionSubView(PanZoomDocument) { const containerName = `collectionfreeformview${this.isAnnotationOverlay ? "-overlay" : "-container"}`; const easing = () => this.props.Document.panTransformType === "Ease"; - if (this.props.fieldExt) Doc.UpdateDocumentExtensionForField(this.extensionDoc, this.props.fieldKey); + if (this.props.fieldExt) Doc.UpdateDocumentExtensionForField(this.props.DataDoc ? this.props.DataDoc : this.props.Document, this.props.fieldKey); return ( <div className={containerName} ref={this.createDropTarget} onWheel={this.onPointerWheel} style={{ borderRadius: "inherit" }} |
