diff options
| author | bob <bcz@cs.brown.edu> | 2019-05-30 10:51:00 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-05-30 10:51:00 -0400 |
| commit | 37e16bb59a38c000ba80312a0661e1f54c93f3c6 (patch) | |
| tree | 0a9669b43a43478be1ea0e5d9c0c421d3c9a6533 /src/client/views/collections/CollectionBaseView.tsx | |
| parent | 83edfcd06b659839f161121728de02aca91d4af8 (diff) | |
cleaned up event handling for documentviews. fixed context menu closing.
Diffstat (limited to 'src/client/views/collections/CollectionBaseView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionBaseView.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionBaseView.tsx b/src/client/views/collections/CollectionBaseView.tsx index 2bccde241..e89b8be0f 100644 --- a/src/client/views/collections/CollectionBaseView.tsx +++ b/src/client/views/collections/CollectionBaseView.tsx @@ -128,6 +128,7 @@ export class CollectionBaseView extends React.Component<CollectionViewProps> { @action.bound removeDocument(doc: Doc): boolean { + SelectionManager.DeselectAll(); const props = this.props; //TODO This won't create the field if it doesn't already exist const value = Cast(props.Document[props.fieldKey], listSpec(Doc), []); |
