X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/eb8ad1c4836166891f3456d5baa8eb12275bc46e..4ddf36452af460dbc26fd181f2ba3640a7c71374:/src/editor/modules/sourceEditor/sourceEditor.js diff --git a/src/editor/modules/sourceEditor/sourceEditor.js b/src/editor/modules/sourceEditor/sourceEditor.js index 8159680..0d7b12e 100644 --- a/src/editor/modules/sourceEditor/sourceEditor.js +++ b/src/editor/modules/sourceEditor/sourceEditor.js @@ -13,6 +13,8 @@ return function(sandbox) { if(documentIsDirty) { editor.setValue(wlxmlDocument.toXML()); editor.gotoLine(0); + documentEditedHere = false; + sandbox.publish('documentSet'); documentIsDirty = false; }