Removing autofocus from dialog

This commit is contained in:
Piotr Pekala
2019-03-04 04:36:13 -08:00
parent 87d9144f1e
commit 612d0dbe1f
10 changed files with 22 additions and 11 deletions

View File

@ -20,7 +20,8 @@ export class EditStyleActionComponent implements OnInit {
editStyle() {
const dialogRef = this.dialog.open(StyleEditorDialogComponent, {
width: '300px'
width: '300px',
autoFocus: false
});
let instance = dialogRef.componentInstance;
instance.server = this.server;

View File

@ -20,7 +20,8 @@ export class EditTextActionComponent implements OnInit {
editText() {
const dialogRef = this.dialog.open(TextEditorDialogComponent, {
width: '300px'
width: '300px',
autoFocus: false
});
let instance = dialogRef.componentInstance;
instance.server = this.server;