diff options
author | bob <bcz@cs.brown.edu> | 2020-03-09 13:49:21 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2020-03-09 13:49:21 -0400 |
commit | cabb2cf9065d85112f1bd89e31b41dafdbc4ba54 (patch) | |
tree | 03ba4354fcaa0cdbd12db1e2a06bedb1421a0b7e /src/client/documents/Documents.ts | |
parent | d46ff869dcbb3d5cadeeb9ad6251ef5f9a5c3b2d (diff) |
fixed showing links only to doculink boxes. changed field names for links to be more readable.
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index 1f351e93f..901b3684f 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -548,10 +548,10 @@ export namespace Docs { const linkDocProto = Doc.GetProto(doc); linkDocProto.anchor1 = source.doc; linkDocProto.anchor2 = target.doc; - linkDocProto.anchor1Context = source.ctx; - linkDocProto.anchor2Context = target.ctx; - linkDocProto.anchor1Timecode = source.doc.currentTimecode || source.doc.displayTimecode; - linkDocProto.anchor2Timecode = target.doc.currentTimecode || source.doc.displayTimecode; + linkDocProto.anchor1_context = source.ctx; + linkDocProto.anchor2_context = target.ctx; + linkDocProto.anchor1_timecode = source.doc.currentTimecode || source.doc.displayTimecode; + linkDocProto.anchor2_timecode = target.doc.currentTimecode || source.doc.displayTimecode; if (linkDocProto.layout_key1 === undefined) { Cast(linkDocProto.proto, Doc, null).layout_key1 = DocuLinkBox.LayoutString("anchor1"); |