integration wip: removing unused code in documentCanvas module
[fnpeditor.git] / src / editor / modules / data / data.js
index 7f60004..7c9077f 100644 (file)
@@ -108,6 +108,7 @@ return function(sandbox) {
                     success: function(data) {
                         document_version = data.current_version;
                         reloadHistory();
+                        wlxmlDocument.loadXML(data.document);
                         sandbox.publish('documentReverted', data);
                     },
                 });