fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
linting
[fnpeditor.git]
/
src
/
editor
/
modules
/
sourceEditor
/
sourceEditor.js
diff --git
a/src/editor/modules/sourceEditor/sourceEditor.js
b/src/editor/modules/sourceEditor/sourceEditor.js
index
420abc1
..
1930939
100644
(file)
--- a/
src/editor/modules/sourceEditor/sourceEditor.js
+++ b/
src/editor/modules/sourceEditor/sourceEditor.js
@@
-49,6
+49,9
@@
return function(sandbox) {
wlxmlDocument.on('change', function() {
documentIsDirty = true;
});
+ wlxmlDocument.on('contentSet', function() {
+ documentIsDirty = true;
+ });
},
getDocument: function() {
return editor.getValue();