Skip to content

Commit

Permalink
Merge pull request #1173 from vikdoro/fix
Browse files Browse the repository at this point in the history
Set back save prompt flag scenarios
  • Loading branch information
Paul Varache authored Jun 29, 2017
2 parents a2adce3 + 58b013e commit cd4a730
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/elements/kano-app-editor/kano-app-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ Polymer({
if (!this.remixMode) {
localStorage.removeItem(`savedApp-${this.mode.id}`);
}
this.unsavedChanges = false;
},
checkBlockDependency (part) {
let xmlString, xml, parser, blocks, block, blockId, pieces;
Expand Down Expand Up @@ -438,6 +439,7 @@ Polymer({
this.$['root-view'].computeBlocks();
this.set('code', savedApp.code);
this.set('background', savedApp.background);
this.unsavedChanges = false;
},
_formatCode (code) {
code = code || {};
Expand Down

0 comments on commit cd4a730

Please sign in to comment.