From 04887c8a578147015421d3909bd100c82ac5e31d Mon Sep 17 00:00:00 2001 From: Sam Wilkins Date: Mon, 8 Jul 2019 19:55:15 -0400 Subject: fixed readonly and hopefully cursor proto bugs --- src/client/DocServer.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/client/DocServer.ts') diff --git a/src/client/DocServer.ts b/src/client/DocServer.ts index cbcf751ee..652a9b701 100644 --- a/src/client/DocServer.ts +++ b/src/client/DocServer.ts @@ -12,7 +12,9 @@ export namespace DocServer { const GUID: string = Utils.GenerateGuid(); export function makeReadOnly() { - _CreateField = emptyFunction; + _CreateField = field => { + _cache[field[Id]] = field; + }; _UpdateField = emptyFunction; _respondToUpdate = emptyFunction; } -- cgit v1.2.3-70-g09d2