diff options
author | bob <bcz@cs.brown.edu> | 2019-04-12 14:15:05 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-04-12 14:15:05 -0400 |
commit | 0afa18bfc219c597ad55a52ffc5a2086c3d110d2 (patch) | |
tree | 998576408d5b6bd025fbac50404bdb116019e6bb /src/client/views/nodes/FieldView.tsx | |
parent | 3249a76b9fc1984b013ab4cf267602e1cfd4b5ae (diff) |
changed signatures of focus functions.
Diffstat (limited to 'src/client/views/nodes/FieldView.tsx')
-rw-r--r-- | src/client/views/nodes/FieldView.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/FieldView.tsx b/src/client/views/nodes/FieldView.tsx index 40b44aae5..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, emptyFunction } from "../../../Utils"; +import { returnFalse, emptyDocFunction } from "../../../Utils"; // @@ -85,7 +85,7 @@ export class FieldView extends React.Component<FieldViewProps> { PanelHeight={() => 100} isTopMost={true} //TODO Why is this top most? selectOnLoad={false} - focus={emptyFunction} + focus={emptyDocFunction} isSelected={returnFalse} select={returnFalse} layoutKey={KeyStore.Layout} |