summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bc034b9)
Without setting this flag here, ace editor change event triggered
on initial document load was followed by setting xml on document
again in onHide event handler.
if(documentIsDirty) {
editor.setValue(wlxmlDocument.toXML());
editor.gotoLine(0);
if(documentIsDirty) {
editor.setValue(wlxmlDocument.toXML());
editor.gotoLine(0);
+ documentEditedHere = false;
+
sandbox.publish('documentSet');
documentIsDirty = false;
}
sandbox.publish('documentSet');
documentIsDirty = false;
}