From 89877baa69060155eeba6969f9dce5d7c4ec588a Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 27 Mar 2017 17:15:54 +0200 Subject: [PATCH] Fix read-only mode in canvas app --- www/whiteboard/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/whiteboard/main.js b/www/whiteboard/main.js index ee4a0253e..01834c1c2 100644 --- a/www/whiteboard/main.js +++ b/www/whiteboard/main.js @@ -239,6 +239,8 @@ define([ canvas.loadFromJSON(remoteDoc); canvas.renderAll(); + + if (readOnly) { setEditable(false); } }); var stringifyInner = function (textValue) {