canvas: fix
[fnpeditor.git] / src / editor / modules / data / data.js
index 8b8851a..7d0837b 100644 (file)
@@ -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);