1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-23 15:19:42 +02:00

Move section save notification after logic checks

This commit is contained in:
McMatts 2018-05-31 18:20:36 +01:00
parent dc2c7a5f7c
commit d5157615e0

View file

@ -70,7 +70,6 @@ export default Controller.extend(Tooltips, Notifier, {
},
onSavePage(page, meta) {
this.showWait();
let document = this.get('document');
let documentId = document.get('id');
@ -88,6 +87,8 @@ export default Controller.extend(Tooltips, Notifier, {
meta: meta.toJSON({ includeId: true })
};
this.showWait();
this.get('documentService').updatePage(documentId, page.get('id'), model).then((/*up*/) => {
this.showDone();