aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionSubView.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-10-16 12:47:09 -0400
committerbob <bcz@cs.brown.edu>2019-10-16 12:47:09 -0400
commitfb817995eb94727b11324f298d0a30eebda8dcb7 (patch)
treec7fcb8864d686bc40fc82fd97ee728e839227a50 /src/client/views/collections/CollectionSubView.tsx
parent57ccb3e236a7dad71848a06dad757c5a5a081ce8 (diff)
removed DragEmbed -- subsumed by dragging aliases.
Diffstat (limited to 'src/client/views/collections/CollectionSubView.tsx')
-rw-r--r--src/client/views/collections/CollectionSubView.tsx3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/client/views/collections/CollectionSubView.tsx b/src/client/views/collections/CollectionSubView.tsx
index 077142e88..9919a9dc3 100644
--- a/src/client/views/collections/CollectionSubView.tsx
+++ b/src/client/views/collections/CollectionSubView.tsx
@@ -143,9 +143,6 @@ export function CollectionSubView<T>(schemaCtor: (doc: Doc) => T) {
e.stopPropagation();
return added;
}
- else if (de.data instanceof DragManager.EmbedDragData) {
- return this.props.addDocument(de.data.embeddedDoc = Doc.MakeAlias(de.data.embeddableSourceDoc));
- }
else if (de.data instanceof DragManager.AnnotationDragData) {
e.stopPropagation();
return this.props.addDocument(de.data.dropDocument);