Просмотр исходного кода

BugFix: invoke setIsDocSaved from PageContainer when saveAndReload

Yuki Takei 6 лет назад
Родитель
Сommit
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;