aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-11-29 19:48:32 -0500
committerbobzel <zzzman@gmail.com>2023-11-29 19:48:32 -0500
commit48b0153d814cddad71caa8103e7ff4c761b66eaa (patch)
tree790d98e927f9d16f588d6ee3d0d1d4849ea79b3e /src/client/documents
parent412e4aa10e0fab8a949c78e851efdc68661dd522 (diff)
fixed menu functions that referenced 'self' instead of 'this'
Diffstat (limited to 'src/client/documents')
-rw-r--r--src/client/documents/Documents.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 9107bd6ab..dfb9f4327 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -1469,7 +1469,7 @@ export namespace DocUtils {
{
'acl-Guest': SharingPermissions.Augment,
'_acl-Guest': SharingPermissions.Augment,
- title: ComputedField.MakeFunction('generateLinkTitle(self)') as any,
+ title: ComputedField.MakeFunction('generateLinkTitle(this)') as any,
link_anchor_1_useSmallAnchor: source.useSmallAnchor ? true : undefined,
link_anchor_2_useSmallAnchor: target.useSmallAnchor ? true : undefined,
link_displayLine: linkSettings.link_displayLine,