diff options
author | madelinegr <monika_hedman@brown.edu> | 2019-06-12 22:45:20 -0400 |
---|---|---|
committer | madelinegr <monika_hedman@brown.edu> | 2019-06-12 22:45:20 -0400 |
commit | 09e40959ec0d47ae3bff2e9f1797ea2b0cbc1034 (patch) | |
tree | 0bf827c0393086ac62f57b69827c3a26bb477650 /src/client/documents/Documents.ts | |
parent | 95dbea8f51b0f5835d6caf9adf2cecdfb51d35f7 (diff) |
end of day 6/12
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index 9d83f0e36..2da5eed43 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -89,11 +89,13 @@ export namespace DocUtils { let protoSrc = source.proto ? source.proto : source; let protoTarg = target.proto ? target.proto : target; UndoManager.RunInBatch(() => { - let linkDoc = Docs.TextDocument({ width: 100, height: 30, borderRounding: -1 }); + let linkDoc = Docs.TextDocument({ width: 100, height: 30, borderRounding: -1}); + // linkDoc.type = DocTypes.LINK; let linkDocProto = Doc.GetProto(linkDoc); linkDocProto.title = source.title + " to " + target.title; linkDocProto.linkDescription = ""; linkDocProto.linkTags = "Default"; + linkDocProto.type = DocTypes.LINK; linkDocProto.linkedTo = target; linkDocProto.linkedFrom = source; @@ -110,8 +112,6 @@ export namespace DocUtils { return linkDoc; }, "make link"); } - - } export namespace Docs { |