mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 20:41:46 +00:00
confirm_dialog: Rename html_yes_button to html_submit_button.
This commit renames the html_yes_button parameter of confirm dialog widget to html_submit_button and also all the related variables in confirm_dialog.js. This will help in keeping a general name when deduplicating the code for confirm_dialog and edit_fields_modal.
This commit is contained in:
@@ -602,7 +602,7 @@ export function set_up() {
|
||||
parent: modal_parent,
|
||||
html_heading: $t_html({defaultMessage: "Deactivate your account"}),
|
||||
html_body,
|
||||
html_yes_button: $t_html({defaultMessage: "Confirm"}),
|
||||
html_submit_button: $t_html({defaultMessage: "Confirm"}),
|
||||
on_click: handle_confirm,
|
||||
help_link: "/help/deactivate-your-account",
|
||||
fade: true,
|
||||
|
||||
Reference in New Issue
Block a user