aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-02-19 09:29:34 -0500
committerbob <bcz@cs.brown.edu>2019-02-19 09:29:34 -0500
commitf80cddf158c6a43259d68ed0be9bfe084d464b4a (patch)
treec3ddb14287436ab5052ee7a5b978327942916ac6 /src/client/documents/Documents.ts
parentec2b0b56058fce137ff28ae3ec125f9e695f315c (diff)
converted docking collection to use a GoldenLayout layout string for its data
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 72fa608ad..36119e552 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -169,6 +169,7 @@ export namespace Documents {
export function CollectionDocument(documents: Array<Document>, options: DocumentOptions = {}): Document {
let doc = GetCollectionPrototype().MakeDelegate();
+ Server.AddDocument(doc);
setupOptions(doc, options);
doc.Set(KeyStore.Data, new ListField(documents));
return doc;