aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-02-19 11:13:22 -0500
committerbob <bcz@cs.brown.edu>2019-02-19 11:13:22 -0500
commit1f5cc996f5f64dc0e706a79ec3e0816fd9f895b1 (patch)
treefae0f0405179acbe7d1bb1d799119a2916aabb71 /src/client/documents/Documents.ts
parentf80cddf158c6a43259d68ed0be9bfe084d464b4a (diff)
added layout saving/loading to collectiondockingview & cleaned up to use react-component
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 36119e552..f954b37a8 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -107,10 +107,10 @@ export namespace Documents {
return dockProto;
}
- export function DockDocument(documents: Array<Document>, options: DocumentOptions = {}): Document {
+ export function DockDocument(config: string, options: DocumentOptions = {}): Document {
let doc = GetDockPrototype().MakeDelegate();
setupOptions(doc, options);
- doc.Set(KeyStore.Data, new ListField(documents));
+ doc.SetText(KeyStore.Data, config);
return doc;
}