mirror of
https://github.com/documize/community.git
synced 2025-07-24 07:39:43 +02:00
Make section publish modal focus on first input
This commit is contained in:
parent
78fd14b3d3
commit
b1cb0ed155
2 changed files with 5 additions and 1 deletions
|
@ -132,6 +132,10 @@ export default Component.extend(Notifier, ModalMixin, {
|
|||
this.modalClose('#delete-page-modal-' + this.get('page.id'));
|
||||
},
|
||||
|
||||
onShowPublishModal() {
|
||||
this.modalOpen('#publish-page-modal-' + this.get('page.id'), {"show": true}, '#block-title-' + this.get('page.id'));
|
||||
},
|
||||
|
||||
onSavePageAsBlock() {
|
||||
let page = this.get('page');
|
||||
let titleElem = '#block-title-' + page.get('id');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue