mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-22 00:13:36 +00:00
Removing autofocus from dialog
This commit is contained in:
@ -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;
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user