From: Aleksander Ɓukasz Date: Tue, 27 May 2014 13:59:05 +0000 (+0200) Subject: canvas: fix X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/24f82f204feceecca2d05e1b2c9a07f7146642cc canvas: fix --- diff --git a/src/editor/modules/data/data.js b/src/editor/modules/data/data.js index 8b8851a..7d0837b 100644 --- a/src/editor/modules/data/data.js +++ b/src/editor/modules/data/data.js @@ -263,7 +263,7 @@ return function(sandbox) { return key !== 'document'; }) .forEach(function(key) { - documentProperties = data[key]; + documentProperties[key] = data[key]; }); reloadHistory(); wlxmlDocument.loadXML(data.document);