aboutsummaryrefslogtreecommitdiff
path: root/src/new_fields/Doc.ts
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2020-02-10 19:59:26 -0500
committerbob <bcz@cs.brown.edu>2020-02-10 19:59:26 -0500
commit3817c901191e73c8c141a52e202ded0fd12abf6c (patch)
tree09dd443b6594321899cda233769feaf71d4e307e /src/new_fields/Doc.ts
parenta547bf10571c6e45f59fb8205171123da2560c75 (diff)
cleanup of summary docs. icons. carousel fwd/back
Diffstat (limited to 'src/new_fields/Doc.ts')
-rw-r--r--src/new_fields/Doc.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/new_fields/Doc.ts b/src/new_fields/Doc.ts
index 8172816ab..1636f4ee7 100644
--- a/src/new_fields/Doc.ts
+++ b/src/new_fields/Doc.ts
@@ -494,6 +494,7 @@ export namespace Doc {
setTimeout(action(() => {
if (!targetDoc[expandedLayoutFieldKey]) {
const newLayoutDoc = Doc.MakeDelegate(templateLayoutDoc, undefined, "[" + templateLayoutDoc.title + "]");
+ newLayoutDoc.lockedPosition = true;
newLayoutDoc.expandedTemplate = targetDoc;
targetDoc[expandedLayoutFieldKey] = newLayoutDoc;
const dataDoc = Doc.GetDataDoc(targetDoc);