mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +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:
@@ -883,7 +883,7 @@ export function initialize() {
|
||||
{stream_name: sub.name},
|
||||
),
|
||||
html_body,
|
||||
html_yes_button: $t_html({defaultMessage: "Confirm"}),
|
||||
html_submit_button: $t_html({defaultMessage: "Confirm"}),
|
||||
on_click: remove_user_from_private_stream,
|
||||
fade: true,
|
||||
});
|
||||
@@ -952,7 +952,7 @@ export function initialize() {
|
||||
),
|
||||
help_link: "/help/archive-a-stream",
|
||||
html_body,
|
||||
html_yes_button: $t_html({defaultMessage: "Confirm"}),
|
||||
html_submit_button: $t_html({defaultMessage: "Confirm"}),
|
||||
on_click: do_archive_stream,
|
||||
fade: true,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user