1
0
Fork 0
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:
sauls8t 2018-01-24 13:23:11 +00:00
parent 88b99979a9
commit adef6dfffa
37 changed files with 140 additions and 117 deletions

View file

@ -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);
});