Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
settings_users: Rename get_bot_owner_widget_and_set_role_values.
Sahil Batra6a56c0dc8cb9
diff --git a/static/js/settings_users.js b/static/js/settings_users.jsindex 1e3845ddf47..a692ec82a46 100644--- a/static/js/settings_users.js+++ b/static/js/settings_users.js@@ -672,7 +672,7 @@ function handle_bot_form($tbody) {dialog_widget.submit_api_request(channel.patch, url, data);}- function get_bot_owner_widget_and_set_role_values() {+ function edit_bot_post_render() {const owner_id = bot_data.get(user_id).owner_id;const user_ids = people.get_active_human_ids();@@ -709,7 +709,7 @@ function handle_bot_form($tbody) {html_body,id: "edit_bot_modal",on_click: submit_bot_details,- post_render: get_bot_owner_widget_and_set_role_values,+ post_render: edit_bot_post_render,});});}