diff options
author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-05-22 19:51:49 -0400 |
---|---|---|
committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-05-22 19:51:49 -0400 |
commit | 30fdae9e869e0f132c76b4fa99b784e75d6c8dae (patch) | |
tree | 01a86e92ed6cad6a0a9a6d8adea2e09dcc2f96be /src/client/documents/Documents.ts | |
parent | fe9dbb871d613d6a55873bd317d0d1af13a50ad8 (diff) |
A bunch of fixes/changes
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index 323534b2b..ae190a989 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -77,7 +77,9 @@ export namespace DocUtils { linkDoc.proto!.linkTags = "Default"; linkDoc.proto!.linkedTo = target; + linkDoc.proto!.linkedToPage = target.curPage; linkDoc.proto!.linkedFrom = source; + linkDoc.proto!.linkedFromPage = source.curPage; let linkedFrom = Cast(protoTarg.linkedFromDocs, listSpec(Doc)); if (!linkedFrom) { |