mirror of
https://github.com/documize/community.git
synced 2025-07-19 13:19:43 +02:00
Implement new toolbar for document view
This commit is contained in:
parent
93253be0f2
commit
329c43eba0
9 changed files with 59 additions and 50 deletions
|
@ -64,6 +64,14 @@ export default Component.extend(ModalMixin, AuthMixin, Notifier, {
|
|||
},
|
||||
|
||||
actions: {
|
||||
onShowTemplateModal() {
|
||||
this.modalOpen("#document-template-modal", {show:true}, "#new-template-name");
|
||||
},
|
||||
|
||||
onShowDeleteModal() {
|
||||
this.modalOpen("#document-delete-modal", {show:true});
|
||||
},
|
||||
|
||||
onDocumentDelete() {
|
||||
this.modalClose('#document-delete-modal');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue