aboutsummaryrefslogtreecommitdiff
path: root/src/client/util
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-09-13 10:11:06 -0400
committerbobzel <zzzman@gmail.com>2022-09-13 10:11:06 -0400
commit7696d85b7b737a29cab189f4c65f395c5de132c7 (patch)
tree21360352c3cdefd5d59044b12de39c093d634dab /src/client/util
parent1ae415f3fc83edb248131f20ea4279d61a947392 (diff)
fixed problem with sharing presentations where preselementbox template couldn't be expanded.
Diffstat (limited to 'src/client/util')
-rw-r--r--src/client/util/CurrentUserUtils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts
index aaad1392f..9a1fa8f26 100644
--- a/src/client/util/CurrentUserUtils.ts
+++ b/src/client/util/CurrentUserUtils.ts
@@ -115,7 +115,7 @@ export class CurrentUserUtils {
/// Initializes collection of templates for notes and click functions
static setupDocTemplates(doc: Doc, field="myTemplates") {
- DocUtils.AssignDocField(doc, "presElement", opts => Docs.Create.PresElementBoxDocument(opts), { title: "pres element template", type: DocumentType.PRESELEMENT, _fitWidth: true, _xMargin: 0, isTemplateDoc: true, isTemplateForField: "data"});
+ DocUtils.AssignDocField(doc, "presElement", opts => Docs.Create.PresElementBoxDocument(), { });
const templates = [
DocCast(doc.presElement),
CurrentUserUtils.setupNoteTemplates(doc),