diff options
| author | bob <bcz@cs.brown.edu> | 2019-10-02 18:26:55 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-10-02 18:26:55 -0400 |
| commit | 9427474b473d70974784a1517a1be902fb8d18ee (patch) | |
| tree | f2f2762eb8dbcf771711161fc021fe5c0c2ff654 /src/client/views/collections/CollectionTreeView.tsx | |
| parent | a19210e7db3e625c0bfe38b4f13b5312cc0c6e53 (diff) | |
many fixes to pdfs, linking, annotations, presentations.
Diffstat (limited to 'src/client/views/collections/CollectionTreeView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionTreeView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionTreeView.tsx b/src/client/views/collections/CollectionTreeView.tsx index ffd1f9170..882a0f144 100644 --- a/src/client/views/collections/CollectionTreeView.tsx +++ b/src/client/views/collections/CollectionTreeView.tsx @@ -217,7 +217,7 @@ class TreeView extends React.Component<TreeViewProps> { if (de.data instanceof DragManager.LinkDragData) { let sourceDoc = de.data.linkSourceDocument; let destDoc = this.props.document; - DocUtils.MakeLink(sourceDoc, destDoc); + DocUtils.MakeLink({doc:sourceDoc}, {doc:destDoc}); e.stopPropagation(); } if (de.data instanceof DragManager.DocumentDragData) { |
