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.

change_password: Fix multiple modals opening.

Kenneth Rodrigues37725e4e9fdd
diff --git a/web/src/settings_account.js b/web/src/settings_account.js
index 1bf33ff3411..67f8dfc7b42 100644
--- a/web/src/settings_account.js
+++ b/web/src/settings_account.js
@@ -448,6 +448,9 @@ export function set_up() {
post_render: change_password_post_render,
on_click: do_change_password,
validate_input,
+ on_shown() {
+ $("#old_password").trigger("focus");
+ },
});
if (realm.realm_password_auth_enabled !== false) {