aboutsummaryrefslogtreecommitdiff
path: root/src/new_fields/Doc.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/new_fields/Doc.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/new_fields/Doc.ts')
-rw-r--r--src/new_fields/Doc.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/new_fields/Doc.ts b/src/new_fields/Doc.ts
index 8dd293f2d..d3d6ff93a 100644
--- a/src/new_fields/Doc.ts
+++ b/src/new_fields/Doc.ts
@@ -51,7 +51,7 @@ export class Doc extends RefField {
});
this[SelfProxy] = doc;
if (!id || forceSave) {
- DocServer.CreateField(SerializationHelper.Serialize(doc));
+ DocServer.CreateField(doc);
}
return doc;
}