diff options
author | bobzel <zzzman@gmail.com> | 2020-09-21 20:42:51 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-09-21 20:42:51 -0400 |
commit | 02029b5cad1c27e65630a63cd4d2b632ed6973cd (patch) | |
tree | cd27677288326d9c8e88c6c988e1d5266265ee1a /src/client/views/DocumentDecorations.tsx | |
parent | 51aab84bc8814ea1be6aed3eca02da3ec00a280b (diff) |
changed acls so that only an admin owner distributes them when a doc is added. changed default acls to be Add by default when not in private mode. restored filtering from search bar for developer mode.
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r-- | src/client/views/DocumentDecorations.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 795208c91..9432d1ffb 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -139,7 +139,7 @@ export class DocumentDecorations extends React.Component<{}, { value: string }> dragData.offset = dragDocView.props.ScreenToLocalTransform().scale(dragDocView.props.ContentScaling()).transformDirection(e.x - left, e.y - top); dragData.moveDocument = dragDocView.props.moveDocument; dragData.isSelectionMove = true; - dragData.dropAction = dragDocView.props.dropAction as dropActionType; + dragData.dropAction = dragDocView.props.dropAction; this.Interacting = true; this._hidden = true; DragManager.StartDocumentDrag(SelectionManager.SelectedDocuments().map(dv => dv.ContentDiv!), dragData, e.x, e.y, { |