diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2019-07-01 03:35:47 -0400 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2019-07-01 03:35:47 -0400 |
commit | 5373b236dcb83c6d245da1e38c3caf13973b1b95 (patch) | |
tree | cb86de35577d74d44b97a99809a7a5d02ce28084 /src/new_fields/Doc.ts | |
parent | a2e447925dd9fc9300d1c812cd202acf0de1aa95 (diff) | |
parent | 707e66f1d934e6b6185d9701a8b5138c0f15c90e (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
Diffstat (limited to 'src/new_fields/Doc.ts')
-rw-r--r-- | src/new_fields/Doc.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/new_fields/Doc.ts b/src/new_fields/Doc.ts index e76e94d63..734a90731 100644 --- a/src/new_fields/Doc.ts +++ b/src/new_fields/Doc.ts @@ -293,11 +293,12 @@ export namespace Doc { if (expandedTemplateLayout instanceof Doc) { return expandedTemplateLayout; } - if (expandedTemplateLayout === undefined) + if (expandedTemplateLayout === undefined) { setTimeout(() => { templateLayoutDoc["_expanded_" + dataDoc[Id]] = Doc.MakeDelegate(templateLayoutDoc); (templateLayoutDoc["_expanded_" + dataDoc[Id]] as Doc).title = templateLayoutDoc.title + " applied to " + dataDoc.title; }, 0); + } return templateLayoutDoc; } |