diff options
author | bob <bcz@cs.brown.edu> | 2020-02-05 16:04:31 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2020-02-05 16:04:31 -0500 |
commit | bc2798dbab082c381f7af1aa7b5ed2b6027c45aa (patch) | |
tree | f61947925515d875ce4681f6c99924906f226f29 /src/client/views/DocumentButtonBar.tsx | |
parent | ab95c12485c26e5e0e6dc48cef8abd63a9c1fb56 (diff) |
added aliasOf on aliasing .. and sourceContext for presentations
Diffstat (limited to 'src/client/views/DocumentButtonBar.tsx')
-rw-r--r-- | src/client/views/DocumentButtonBar.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/DocumentButtonBar.tsx b/src/client/views/DocumentButtonBar.tsx index 121f79840..963d97d59 100644 --- a/src/client/views/DocumentButtonBar.tsx +++ b/src/client/views/DocumentButtonBar.tsx @@ -211,6 +211,7 @@ export class DocumentButtonBar extends React.Component<{ views: (DocumentView | DockedFrameRenderer.UnpinDoc(targetDoc); } else { + targetDoc.sourceContext = this.view0?.props.ContainingCollectionDoc; // bcz: !! Shouldn't need this ... use search to lookup contexts dynamically DockedFrameRenderer.PinDoc(targetDoc); } }}> |