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.

user_profile: Pass correct element to toggle_submit_button.

afeefuddin2217eededc72
diff --git a/web/src/user_profile.js b/web/src/user_profile.js
index f492d0702b7..fdea9e98b9b 100644
--- a/web/src/user_profile.js
+++ b/web/src/user_profile.js
@@ -654,7 +654,7 @@ export function show_edit_bot_info_modal(user_id, $container) {
avatar_widget.clear();
hide_button_spinner($submit_btn);
original_values = get_current_values($("#bot-edit-form"));
- toggle_submit_button($("#edit-user-form"));
+ toggle_submit_button($("#bot-edit-form"));
ui_report.success(
$t_html({defaultMessage: "Saved"}),
$("#user-profile-modal .save-success"),