diff options
| author | bob <bcz@cs.brown.edu> | 2019-02-27 14:32:56 -0500 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-02-27 14:32:56 -0500 |
| commit | 42b2b9df4e502986d630df40e12f78d7fa54667b (patch) | |
| tree | 4a1bc328f7a7a037c0de0f672685b35973722901 /src/client/views/collections/CollectionTreeView.tsx | |
| parent | 498f915675c1a7e6a3c3b332a2ecc77222bb4785 (diff) | |
| parent | 7fb76d3609a012e5cb6342872b66993771696996 (diff) | |
merged with master. fixed select on load.
Diffstat (limited to 'src/client/views/collections/CollectionTreeView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionTreeView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionTreeView.tsx b/src/client/views/collections/CollectionTreeView.tsx index 64f4c0970..55c804337 100644 --- a/src/client/views/collections/CollectionTreeView.tsx +++ b/src/client/views/collections/CollectionTreeView.tsx @@ -33,7 +33,7 @@ class TreeView extends React.Component<TreeViewProps> { var children = childDocument.GetT<ListField<Document>>(KeyStore.Data, ListField); let title = childDocument.GetT<TextField>(KeyStore.Title, TextField); - let onItemDown = setupDrag(reference, childDocument); + let onItemDown = setupDrag(reference, () => childDocument); if (title && title != FieldWaiting) { let subView = !children || this.collapsed || children === FieldWaiting ? (null) : |
