We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 768c225 commit d733996Copy full SHA for d733996
1 file changed
frontend/src/ts/modals/simple-modals.ts
@@ -469,8 +469,8 @@ class SimpleModal {
469
activePopup = this;
470
this.parameters = parameters;
471
void modal.show({
472
- ...showOptions,
473
focusFirstInput: true,
+ ...showOptions,
474
beforeAnimation: async () => {
475
this.beforeInitFn?.(this);
476
this.init();
@@ -1926,7 +1926,9 @@ $(".pageSettings").on(
1926
(e) => {
1927
const $parentElement = $(e.currentTarget).parent(".customTheme.button");
1928
const customThemeId = $parentElement.attr("customThemeId") as string;
1929
- showPopup("updateCustomTheme", [customThemeId]);
+ showPopup("updateCustomTheme", [customThemeId], {
1930
+ focusFirstInput: "focusAndSelect",
1931
+ });
1932
}
1933
);
1934
0 commit comments