mirror of https://github.com/xwiki-labs/cryptpad
Fix read-only mode in canvas app
This commit is contained in:
parent
c2cb24c072
commit
89877baa69
|
@ -239,6 +239,8 @@ define([
|
|||
|
||||
canvas.loadFromJSON(remoteDoc);
|
||||
canvas.renderAll();
|
||||
|
||||
if (readOnly) { setEditable(false); }
|
||||
});
|
||||
|
||||
var stringifyInner = function (textValue) {
|
||||
|
|
Loading…
Reference in New Issue