make editor permanently dirty when a section is deleted
This commit is contained in:
parent
4a924d6aa8
commit
9e11435923
|
@ -428,6 +428,7 @@ function removeAppliesTo(event) {
|
|||
function removeSection(event) {
|
||||
const section = getSectionForChild(event.target);
|
||||
const cm = section.CodeMirror;
|
||||
setCleanItem($('#sections'), false);
|
||||
removeAreaAndSetDirty(section);
|
||||
editors.splice(editors.indexOf(cm), 1);
|
||||
renderLintReport();
|
||||
|
|
Loading…
Reference in New Issue
Block a user