X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/30363302f46e0ed1f6a4c214b2e04d7c8e12ae73..e1f340cca43eafb33256f439cac74689d783f292:/src/editor/modules/data/data.js diff --git a/src/editor/modules/data/data.js b/src/editor/modules/data/data.js index 7f60004..7c9077f 100644 --- a/src/editor/modules/data/data.js +++ b/src/editor/modules/data/data.js @@ -108,6 +108,7 @@ return function(sandbox) { success: function(data) { document_version = data.current_version; reloadHistory(); + wlxmlDocument.loadXML(data.document); sandbox.publish('documentReverted', data); }, });