update a comment - I am wondering if I can get away from doing all of the this.draftXml stuff and change the name of the isNew variable to this.isChanged and clean it up a bit
This commit is contained in:
parent
1abb796637
commit
65e89f1cac
|
@ -94,8 +94,7 @@ export class ModelerComponent implements AfterViewInit {
|
|||
this.importError = error;
|
||||
this.importWarnings = warnings;
|
||||
|
||||
// if this is a new file then we want to enable the save button
|
||||
// otherwise not
|
||||
// if this is a new file then we force a change to the file
|
||||
if (this.isNew ) {
|
||||
this.draftXml = this.xml + ' ';
|
||||
this.isNew = false;
|
||||
|
|
Loading…
Reference in New Issue