mirror of
https://github.com/documize/community.git
synced 2025-07-21 22:29:41 +02:00
Set consistent browser titles
This commit is contained in:
parent
88b99979a9
commit
adef6dfffa
37 changed files with 140 additions and 117 deletions
|
@ -111,7 +111,6 @@ export default Controller.extend(TooltipMixin, {
|
|||
pendingChanges.push({ pageId: deleteId });
|
||||
|
||||
this.get('documentService').deletePages(documentId, deleteId, pendingChanges).then(() => {
|
||||
// this.send('onPageLevelChange', '', pendingChanges);
|
||||
this.get('documentService').fetchPages(this.get('document.id'), this.get('session.user.id')).then((pages) => {
|
||||
this.set('pages', pages);
|
||||
});
|
||||
|
@ -119,7 +118,6 @@ export default Controller.extend(TooltipMixin, {
|
|||
} else {
|
||||
// page delete followed by re-leveling child pages
|
||||
this.get('documentService').deletePage(documentId, deleteId).then(() => {
|
||||
// this.send('onPageLevelChange', '', pendingChanges);
|
||||
this.get('documentService').fetchPages(this.get('document.id'), this.get('session.user.id')).then((pages) => {
|
||||
this.set('pages', pages);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue