mirror of https://github.com/zulip/zulip.git
user_profile: Pass correct element to toggle_submit_button.
This commit is contained in:
parent
8f0a0af588
commit
2217eededc
|
@ -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"),
|
||||
|
|
Loading…
Reference in New Issue