canvas: fix
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 27 May 2014 13:59:05 +0000 (15:59 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 27 May 2014 13:59:05 +0000 (15:59 +0200)
src/editor/modules/data/data.js

index 8b8851a..7d0837b 100644 (file)
@@ -263,7 +263,7 @@ return function(sandbox) {
                                 return key !== 'document';
                             })
                             .forEach(function(key) {
                                 return key !== 'document';
                             })
                             .forEach(function(key) {
-                                documentProperties = data[key];
+                                documentProperties[key] = data[key];
                             });
                         reloadHistory();
                         wlxmlDocument.loadXML(data.document);
                             });
                         reloadHistory();
                         wlxmlDocument.loadXML(data.document);