diff options
author | bobzel <zzzman@gmail.com> | 2020-08-13 18:47:56 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-08-13 18:47:56 -0400 |
commit | ab500561d6924d867c828b6e407827b7d6b34278 (patch) | |
tree | 1b0603c8fcd2024dd8cc912abf50878d7cd18c8b /src/client/util/DragManager.ts | |
parent | a2a1f480a9af6cdf9863750df9314e29455cba60 (diff) | |
parent | 3debb7fedcd9c955ede46e57d4da182a5fa9acae (diff) |
Merge branch 'master' into schema_search
Diffstat (limited to 'src/client/util/DragManager.ts')
-rw-r--r-- | src/client/util/DragManager.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts index 4b1860b5c..0cca61841 100644 --- a/src/client/util/DragManager.ts +++ b/src/client/util/DragManager.ts @@ -210,7 +210,7 @@ export namespace DragManager { docDragData.droppedDocuments = dragData.draggedDocuments.map(d => !dragData.isSelectionMove && !dragData.userDropAction && ScriptCast(d.onDragStart) ? addAudioTag(ScriptCast(d.onDragStart).script.run({ this: d }).result) : docDragData.dropAction === "alias" ? Doc.MakeAlias(d) : - docDragData.dropAction === "copy" ? Doc.MakeDelegate(d) : d); + docDragData.dropAction === "copy" ? Doc.MakeClone(d) : d); docDragData.dropAction !== "same" && docDragData.droppedDocuments.forEach((drop: Doc, i: number) => { const dragProps = Cast(dragData.draggedDocuments[i].removeDropProperties, listSpec("string"), []); const remProps = (dragData?.removeDropProperties || []).concat(Array.from(dragProps)); |