Fix read-only mode in canvas app

pull/1/head
yflory 8 years ago
parent c2cb24c072
commit 89877baa69

@ -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) {

Loading…
Cancel
Save