aboutsummaryrefslogtreecommitdiff
path: root/src/fields/Document.ts
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-03-22 07:15:22 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-03-22 07:15:22 -0400
commit619c01891713b0ceb889ab45659b35f4b9fbc7e3 (patch)
treeb22a5a79ac20b43557666c1d0f84133d06c9cf17 /src/fields/Document.ts
parentdfe70d4f21a8122a6608e127203de2572a9a25fb (diff)
Added basic fill down to schema view
Diffstat (limited to 'src/fields/Document.ts')
-rw-r--r--src/fields/Document.ts8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/fields/Document.ts b/src/fields/Document.ts
index fc4906d17..d098cc96d 100644
--- a/src/fields/Document.ts
+++ b/src/fields/Document.ts
@@ -132,7 +132,13 @@ export class Document extends Field {
} else if (this._proxies.has(key.Id)) {
Server.GetDocumentField(this, key, callback);
} else {
- callback(undefined);
+ this.GetTAsync(KeyStore.Prototype, Document, proto => {
+ if (proto) {
+ proto.GetAsync(key, callback);
+ } else {
+ callback(undefined);
+ }
+ })
}
}