RED-6960 - Enter should confirm a modal window by default
This commit is contained in:
parent
7656cd6000
commit
771a4ca441
@ -21,6 +21,10 @@ export class ResizeAnnotationDialogComponent extends IqserDialogComponent<
|
||||
comment: [null],
|
||||
});
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
save() {
|
||||
const formValue = this.form.getRawValue();
|
||||
|
||||
|
||||
@ -90,11 +90,6 @@ export class SelectComponent implements AfterViewInit, ControlValueAccessor, OnC
|
||||
}
|
||||
|
||||
this._propagateChange([...new Set(this._value)]);
|
||||
|
||||
setTimeout(() => {
|
||||
const saveButton = document.getElementById('saveButton') as HTMLElement;
|
||||
saveButton?.focus();
|
||||
}, 50);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -115,10 +115,6 @@ export class DownloadDialogComponent extends IqserDialogComponent<DownloadDialog
|
||||
});
|
||||
}
|
||||
|
||||
override onEnterValidator() {
|
||||
return this.valid;
|
||||
}
|
||||
|
||||
reportTemplateValueMapper = (reportTemplate: IReportTemplate) => reportTemplate.templateId;
|
||||
|
||||
override close() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user