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/nodes/DocumentView.tsx | |
parent | ab95c12485c26e5e0e6dc48cef8abd63a9c1fb56 (diff) |
added aliasOf on aliasing .. and sourceContext for presentations
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 776d4b8c3..c04402360 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -210,6 +210,7 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu dragData.moveDocument = this.props.moveDocument;// this.Document.onDragStart ? undefined : this.props.moveDocument; dragData.applyAsTemplate = applyAsTemplate; dragData.dragDivName = this.props.dragDivName; + this.props.Document.sourceContext = this.props.ContainingCollectionDoc; // bcz: !! shouldn't need this ... use search find the document's context dynamically DragManager.StartDocumentDrag([this._mainCont.current], dragData, x, y, { hideSource: !dropAction && !this.Document.onDragStart }); } } |