diff options
| author | bob <bcz@cs.brown.edu> | 2019-03-18 11:48:24 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-03-18 11:48:24 -0400 |
| commit | 8418b842b16da68150243e1750aa8b40eb8a8792 (patch) | |
| tree | ec92fd749aa93d90f889aa26e3233506973e7c9d /src/client/views/collections/CollectionPDFView.tsx | |
| parent | d5304e13839830c60c0c5698849535b0605e3c32 (diff) | |
fixed removing from schemas. fixed dragging link button to move quickly. cleaned up drag/drop code a little
Diffstat (limited to 'src/client/views/collections/CollectionPDFView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionPDFView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionPDFView.tsx b/src/client/views/collections/CollectionPDFView.tsx index 124d82c8b..e64b4c945 100644 --- a/src/client/views/collections/CollectionPDFView.tsx +++ b/src/client/views/collections/CollectionPDFView.tsx @@ -38,7 +38,7 @@ export class CollectionPDFView extends React.Component<CollectionViewProps> { public SelectedDocs: FieldId[] = [] public active: () => boolean = () => CollectionView.Active(this); - addDocument = (doc: Document): void => { CollectionView.AddDocument(this.props, doc); } + addDocument = (doc: Document, allowDuplicates: boolean): void => { CollectionView.AddDocument(this.props, doc, allowDuplicates); } removeDocument = (doc: Document): boolean => { return CollectionView.RemoveDocument(this.props, doc); } specificContextMenu = (e: React.MouseEvent): void => { |
