aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-05-02 03:29:02 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-05-02 03:29:02 -0400
commitad9111cdef77795b2eca57b62d203c21cfef3357 (patch)
tree2e5f7714118ad1d506bf09e7d723a6d311c2d38f /src/client/documents/Documents.ts
parent2c1cf7fd3e1d71813f23f60acb9264a4f8bf33b0 (diff)
Various fixes:
Added a couple missing prototype ids that weren't fetched Fixed DocServer bug that was affecting docking view
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 0333f4673..2de389a3c 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -85,7 +85,7 @@ export namespace Docs {
const iconProtoId = "iconProto";
export function initProtos(): Promise<void> {
- return DocServer.GetRefFields([textProtoId, histoProtoId, collProtoId, pdfProtoId, imageProtoId, videoProtoId, audioProtoId, webProtoId, kvpProtoId]).then(fields => {
+ return DocServer.GetRefFields([textProtoId, histoProtoId, collProtoId, imageProtoId, webProtoId, kvpProtoId, videoProtoId, audioProtoId, pdfProtoId, iconProtoId]).then(fields => {
textProto = fields[textProtoId] as Doc || CreateTextPrototype();
histoProto = fields[histoProtoId] as Doc || CreateHistogramPrototype();
collProto = fields[collProtoId] as Doc || CreateCollectionPrototype();