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:
parent
dc2c7a5f7c
commit
d5157615e0
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue