aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkimdahey <claire_kim1@brown.edu>2019-09-12 16:04:26 -0400
committerkimdahey <claire_kim1@brown.edu>2019-09-12 16:04:26 -0400
commit5f9aad860613575510400e07889f5dc3dda95de5 (patch)
tree17b733e20c226e80b103c5660bcd8741af0624fa
parentd6a31b7c55f91336b94dce59096da1bb2dc01d88 (diff)
will check guid statuses
-rw-r--r--src/client/views/linking/LinkFollowBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/linking/LinkFollowBox.tsx b/src/client/views/linking/LinkFollowBox.tsx
index 2ae5fcda0..009c3ac55 100644
--- a/src/client/views/linking/LinkFollowBox.tsx
+++ b/src/client/views/linking/LinkFollowBox.tsx
@@ -264,7 +264,7 @@ export class LinkFollowBox extends React.Component<FieldViewProps> {
// process to follow: if guid, then we want to find the linkhref and use that to figure out whether we can find the links that correspond to the guid.
} else {
console.log("no guid"); // retroactively fixing old in-text links by adding guid
- console.log('source and dest ids respectively are', StrCast(LinkFollowBox.sourceDoc[Id]), StrCast(LinkFollowBox.destinationDoc[Id]));
+ console.log('source and dest ids respectively are', StrCast(LinkFollowBox.sourceDoc[Id]), StrCast(LinkFollowBox.destinationDoc[Id]), 'as well as the linkdoc id', LinkFollowBox.linkDoc[Id]);
jumpToDoc.linkHref = Utils.prepend("/doc/" + StrCast(LinkFollowBox.sourceDoc[Id]));
let newguid = Utils.GenerateGuid();
LinkFollowBox.linkDoc.guid = newguid;