diff options
| author | bobzel <zzzman@gmail.com> | 2020-09-01 23:15:55 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-09-01 23:15:55 -0400 |
| commit | 4ab5484797ccc39a4e7924135f92259c2b15d88f (patch) | |
| tree | b87c435e8d97964ec5861b64c0da5c352a93174d /src/client/views/collections/CollectionSchemaMovableTableHOC.tsx | |
| parent | 25d8d43425785038a74acbc9be618b70f48bbba0 (diff) | |
trying new solr schema that splits words on whitespace. fixed context menu clicking in schema/search view.
Diffstat (limited to 'src/client/views/collections/CollectionSchemaMovableTableHOC.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionSchemaMovableTableHOC.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionSchemaMovableTableHOC.tsx b/src/client/views/collections/CollectionSchemaMovableTableHOC.tsx index 383a9312f..881246bd4 100644 --- a/src/client/views/collections/CollectionSchemaMovableTableHOC.tsx +++ b/src/client/views/collections/CollectionSchemaMovableTableHOC.tsx @@ -201,6 +201,7 @@ export class MovableRow extends React.Component<MovableRowProps> { } onRowContextMenu = (e: React.MouseEvent): void => { + e.preventDefault(); const description = this.props.rowWrapped ? "Unwrap text on row" : "Text wrap row"; ContextMenu.Instance.addItem({ description: description, event: () => this.props.textWrapRow(this.props.rowInfo.original), icon: "file-pdf" }); } |
