Fix read-only mode in canvas app
This commit is contained in:
@@ -239,6 +239,8 @@ define([
|
|||||||
|
|
||||||
canvas.loadFromJSON(remoteDoc);
|
canvas.loadFromJSON(remoteDoc);
|
||||||
canvas.renderAll();
|
canvas.renderAll();
|
||||||
|
|
||||||
|
if (readOnly) { setEditable(false); }
|
||||||
});
|
});
|
||||||
|
|
||||||
var stringifyInner = function (textValue) {
|
var stringifyInner = function (textValue) {
|
||||||
|
|||||||
Reference in New Issue
Block a user