aboutsummaryrefslogtreecommitdiff
path: root/src/client/SocketStub.ts
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-02-15 12:48:05 -0500
committerbob <bcz@cs.brown.edu>2019-02-15 12:48:05 -0500
commit1e5c20010544b12936fbc8dd0bddfb11b947fbd3 (patch)
treeb471a22e7064d632ec9a492e9cdb2e16feb8f533 /src/client/SocketStub.ts
parentc33295b5f98bc53a6a1f2cdf91e440cede3b4a5d (diff)
added logging feedback. fixed some duplicate requests. but it's more broken now.
Diffstat (limited to 'src/client/SocketStub.ts')
-rw-r--r--src/client/SocketStub.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/SocketStub.ts b/src/client/SocketStub.ts
index 7545a166c..36818b1eb 100644
--- a/src/client/SocketStub.ts
+++ b/src/client/SocketStub.ts
@@ -30,6 +30,7 @@ export class SocketStub {
// this.FieldStore.set(document.Id, new Document(document.Id));
// document.fields.forEach((f, key) => (this.FieldStore.get(document.Id) as Document)._proxies.set(key.Id, (f as Field).Id));
+ console.log("sending " + document.Title);
Utils.Emit(Server.Socket, MessageStore.AddDocument, new DocumentTransfer(document.ToJson()))
}