Fix read-only mode in canvas app

This commit is contained in:
yflory committed 2017-03-27 17:15:54 +02:00
1 parent c2cb24c072
commit 89877baa69
1 file changed
+2
+2
View File
@@ -239,6 +239,8 @@ define([
canvas.loadFromJSON(remoteDoc);
canvas.renderAll();
if (readOnly) { setEditable(false); }
});
var stringifyInner = function (textValue) {