aboutsummaryrefslogtreecommitdiff
path: root/src/server/authentication/models/current_user_utils.ts
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2020-02-19 19:02:10 -0500
committerbob <bcz@cs.brown.edu>2020-02-19 19:02:10 -0500
commite625ff09a94160e28f0afda56f4ae7e48b58c0b3 (patch)
treeaed5c1304361429a90fa7363a2d128ec0ae48378 /src/server/authentication/models/current_user_utils.ts
parente816fa75571e2149bbc946dfddb0ca78cf33ca28 (diff)
enabled multicolumn document to show contents of original document if its a template and no fields are specified ... probably will reverse this later
Diffstat (limited to 'src/server/authentication/models/current_user_utils.ts')
-rw-r--r--src/server/authentication/models/current_user_utils.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/authentication/models/current_user_utils.ts b/src/server/authentication/models/current_user_utils.ts
index e9c12b70c..125780c8e 100644
--- a/src/server/authentication/models/current_user_utils.ts
+++ b/src/server/authentication/models/current_user_utils.ts
@@ -232,10 +232,10 @@ export class CurrentUserUtils {
static setupExpandingButtons(doc: Doc) {
const slideTemplate = Docs.Create.MultirowDocument(
[
- Docs.Create.MulticolumnDocument([], { title: "images", _height: 200 }),
+ Docs.Create.MulticolumnDocument([], { title: "data", _height: 200 }),
Docs.Create.TextDocument("", { title: "contents", _height: 100 })
],
- { _width: 400, _height: 300, title: "slideView", _chromeStatus: "disabled", _xMargin: 3, _yMargin: 3, _autoHeight: true });
+ { _width: 400, _height: 300, title: "slideView", _chromeStatus: "disabled", _xMargin: 3, _yMargin: 3, _autoHeight: false });
slideTemplate.isTemplateDoc = makeTemplate(slideTemplate);
const iconDoc = Docs.Create.TextDocument("", { title: "icon", _width: 150, _height: 30, isTemplateDoc: true, onClick: ScriptField.MakeScript("setNativeView(this)") });