Explorar el Código

BugFix: invoke setIsDocSaved from PageContainer when saveAndReload

Yuki Takei hace 7 años
padre
commit
c28f5d3557
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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;