Преглед изворни кода

BugFix: invoke setIsDocSaved from PageContainer when saveAndReload

Yuki Takei пре 7 година
родитељ
комит
c28f5d3557
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/client/js/services/PageContainer.js

+ 1 - 0
src/client/js/services/PageContainer.js

@@ -228,6 +228,7 @@ export default class PageContainer extends Container {
     }
 
     const editorContainer = this.appContainer.getContainer('EditorContainer');
+    this.appContainer.setIsDocSaved(true);
     editorContainer.clearDraft(path);
     window.location.href = path;