Merge branch 'VM/RED-6960' into 'master'

RED-6960 - Enter should confirm a modal window by default

Closes RED-6960

See merge request redactmanager/red-ui!290
This commit is contained in:
Dan Percic 2024-02-07 09:18:26 +01:00
commit d7109a8648
2 changed files with 0 additions and 9 deletions

View File

@ -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);
}
}

View File

@ -115,10 +115,6 @@ export class DownloadDialogComponent extends IqserDialogComponent<DownloadDialog
});
}
override onEnterValidator() {
return this.valid;
}
reportTemplateValueMapper = (reportTemplate: IReportTemplate) => reportTemplate.templateId;
override close() {