X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/30363302f46e0ed1f6a4c214b2e04d7c8e12ae73..9da575320a658b0f543c8ff4ac0ebe43fdd975e1:/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); }, });