aboutsummaryrefslogtreecommitdiff
path: root/src/documents/Documents.ts
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-02-06 09:44:45 -0500
committerbob <bcz@cs.brown.edu>2019-02-06 09:44:45 -0500
commit7598b88bbad9690c59f8b164144aa0d02a0a211f (patch)
treea05c7f0884139af014daae0cae09ba2e852d90ef /src/documents/Documents.ts
parente59dbb02175ec394a35c496201da71c90cd6a50a (diff)
working stub version
Diffstat (limited to 'src/documents/Documents.ts')
-rw-r--r--src/documents/Documents.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/documents/Documents.ts b/src/documents/Documents.ts
index c51feedf5..ae6ae9833 100644
--- a/src/documents/Documents.ts
+++ b/src/documents/Documents.ts
@@ -117,9 +117,8 @@ export namespace Documents {
imageProto.SetFieldValue(KeyStore.Height, 300, NumberField);
imageProto.SetFieldValue(KeyStore.Layout, ImageBox.LayoutString(), TextField);
// imageProto.SetField(KeyStore.Layout, new TextField('<div style={"background-image: " + {Data}} />'));
- // bcz: use LayoutKeys or LayoutFields?
imageProto.SetFieldValue(KeyStore.LayoutKeys, [KeyStore.Data], ListField);
- //imageProto.SetFieldValue(KeyStore.LayoutFields, [KeyStore.Data], ListField);
+ imageProto.SetFieldValue(KeyStore.Data, "", TextField); // bcz: just for testing purposes
}
return imageProto;
}