diff options
author | bob <bcz@cs.brown.edu> | 2019-07-11 12:58:14 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-07-11 12:58:14 -0400 |
commit | 7ea773dc3114f5c56944bef32c4a86cbb22a8acf (patch) | |
tree | 107e0e47e65731d9e199eeea43a2bda52715403d /src/client/documents/Documents.ts | |
parent | a9ecaef0c7d870136401dfbb687afdb9dd2843f4 (diff) |
fixed for pdfs.
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index 46255b5d5..335dfcfef 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -157,6 +157,9 @@ export namespace Docs { pdfProto = fields[pdfProtoId] as Doc || CreatePdfPrototype(); iconProto = fields[iconProtoId] as Doc || CreateIconPrototype(); importProto = fields[importProtoId] as Doc || CreateImportPrototype(); + pdfProto.layout = CollectionPDFView.LayoutString("data", "annotations"); + imageProto.layout = CollectionView.LayoutString("data", "annotations"); + videoProto.layout = CollectionVideoView.LayoutString("data", "annotations"); }); } |