From 4ac7a62d813738b0047caefbcf40d3063ec9e6c1 Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Tue, 5 Feb 2019 22:37:46 -0500
Subject: checkpoint

---
 src/views/nodes/CollectionFreeFormDocumentView.tsx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'src/views/nodes/CollectionFreeFormDocumentView.tsx')

diff --git a/src/views/nodes/CollectionFreeFormDocumentView.tsx b/src/views/nodes/CollectionFreeFormDocumentView.tsx
index 08068b384..9f13733c9 100644
--- a/src/views/nodes/CollectionFreeFormDocumentView.tsx
+++ b/src/views/nodes/CollectionFreeFormDocumentView.tsx
@@ -11,6 +11,7 @@ import "./NodeView.scss";
 import React = require("react");
 import { DocumentView, DocumentViewProps } from "./DocumentView";
 import { WAITING } from "../../fields/Field";
+import { ImageField } from '../../fields/ImageField';
 
 
 @observer
@@ -206,6 +207,8 @@ export class CollectionFreeFormDocumentView extends DocumentView {
 
     render() {
         var freestyling = this.props.ContainingCollectionView instanceof CollectionFreeFormView;
+        let data = this.props.Document.GetFieldT(KeyStore.Data, ImageField);
+        console.log("CollectionFFDocView " + this.props.Document.Title + "<" + data + "> x=" + this.x);
         return (
             <div className="node" ref={this._mainCont} style={{
                 transform: freestyling ? this.transform : "",
@@ -217,7 +220,7 @@ export class CollectionFreeFormDocumentView extends DocumentView {
                 onContextMenu={this.onContextMenu}
                 onPointerDown={this.onPointerDown}>
 
-                <DocumentView {...this.props} DocumentView={this} />
+                <DocumentView {...this.props} DocumentView={this} Data={data} />
             </div>
         );
     }
-- 
cgit v1.2.3-70-g09d2

