Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

streams-ui: Focus on name input after opening folder creation modal.

Sahil Batra04a356b4a10e
diff --git a/web/src/stream_edit.ts b/web/src/stream_edit.ts
index 489a7d2af06..32cf4fe67cc 100644
--- a/web/src/stream_edit.ts
+++ b/web/src/stream_edit.ts
@@ -964,6 +964,7 @@ export function initialize(): void {
html_submit_button: $t_html({defaultMessage: "Create"}),
on_click: create_channel_folder,
loading_spinner: true,
+ on_shown: () => $("#new_channel_folder_name").trigger("focus"),
});
});
}