diff options
author | yipstanley <stanley_yip@brown.edu> | 2019-04-13 17:37:15 -0400 |
---|---|---|
committer | yipstanley <stanley_yip@brown.edu> | 2019-04-13 17:37:15 -0400 |
commit | 0a3fb59c91ad0498fe0302522ea775f71483d9e7 (patch) | |
tree | d5ad95a3ff978b89b1978017f921f58aec2eb884 /src/client/views/nodes/FieldView.tsx | |
parent | 191283a0e61e1f1b81429e6be6c5c1ef3da1a1b1 (diff) | |
parent | a23b160d19beff9163f970f7ae678c2aed9ce14e (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into interaction_changes
Diffstat (limited to 'src/client/views/nodes/FieldView.tsx')
-rw-r--r-- | src/client/views/nodes/FieldView.tsx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client/views/nodes/FieldView.tsx b/src/client/views/nodes/FieldView.tsx index 07c5b332c..0037d7b28 100644 --- a/src/client/views/nodes/FieldView.tsx +++ b/src/client/views/nodes/FieldView.tsx @@ -19,7 +19,7 @@ import { ListField } from "../../../fields/ListField"; import { DocumentContentsView } from "./DocumentContentsView"; import { Transform } from "../../util/Transform"; import { KeyStore } from "../../../fields/KeyStore"; -import { returnFalse } from "../../../Utils"; +import { returnFalse, emptyDocFunction } from "../../../Utils"; // @@ -85,9 +85,9 @@ export class FieldView extends React.Component<FieldViewProps> { PanelHeight={() => 100} isTopMost={true} //TODO Why is this top most? selectOnLoad={false} - focus={() => { }} - isSelected={() => false} - select={() => false} + focus={emptyDocFunction} + isSelected={returnFalse} + select={returnFalse} layoutKey={KeyStore.Layout} ContainingCollectionView={undefined} parentActive={this.props.active} @@ -111,7 +111,7 @@ export class FieldView extends React.Component<FieldViewProps> { } else { return <p> {"Waiting for server..."} </p>; - } + } } }
\ No newline at end of file |