1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-22 22:59:43 +02:00

WIP document view

This commit is contained in:
Harvey Kandola 2017-12-04 14:47:44 +00:00
parent 2d7e3c2904
commit 60fb4e5008
11 changed files with 139 additions and 134 deletions

View file

@ -31,7 +31,9 @@ export default Controller.extend(NotifierMixin, TooltipMixin, {
actions: {
onSaveDocument(doc) {
this.get('documentService').save(doc);
this.showNotification('Saved');
this.get('browser').setTitle(doc.get('name'));
this.get('browser').setMetaDescription(doc.get('excerpt'));
},
onCopyPage(pageId, targetDocumentId) {