X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/30363302f46e0ed1f6a4c214b2e04d7c8e12ae73..e1bff45c85b21d5d87640273319c9a8fd2377f86:/src/editor/modules/data/data.js?ds=inline 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); }, });