aboutsummaryrefslogtreecommitdiff
path: root/src/fields/Document.ts
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-02-15 16:25:12 -0500
committerbob <bcz@cs.brown.edu>2019-02-15 16:25:12 -0500
commit35ac75738a707f7001f6b881e8ad8d6f058c6892 (patch)
tree34b33b734b0fbcd7317228354cbca3332b283342 /src/fields/Document.ts
parent1e5c20010544b12936fbc8dd0bddfb11b947fbd3 (diff)
working version.... kind of
Diffstat (limited to 'src/fields/Document.ts')
-rw-r--r--src/fields/Document.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fields/Document.ts b/src/fields/Document.ts
index 4b159b4eb..0d233c295 100644
--- a/src/fields/Document.ts
+++ b/src/fields/Document.ts
@@ -58,6 +58,8 @@ export class Document extends Field {
break;
}
}
+ if (doc == FieldWaiting)
+ field = FieldWaiting;
}
return field;
@@ -101,6 +103,7 @@ export class Document extends Field {
@action
Set(key: Key, field: Field | undefined): void {
+ console.log("Assign: " + key.Name + " = " + (field ? field.GetValue() : "<undefined>") + " (" + (field ? field.Id : "<undefined>") + ")");
if (field) {
this.fields.set(key.Id, { key, field });
this._proxies.set(key.Id, field.Id)