mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
attachments_ui: Remove unused 'id' from 'Delete file' dialog widget.
The 'id' field in a dialog widget is used to add custom id to the container element to modify styles. We were not using this id anywhere, so this commit removes it.
This commit is contained in:
committed by
Tim Abbott
parent
ab03c74314
commit
3e13914f4a
@@ -92,7 +92,6 @@ function delete_attachments(attachment: string, file_name: string): void {
|
||||
html_heading: $t_html({defaultMessage: "Delete file?"}),
|
||||
html_body,
|
||||
html_submit_button: $t_html({defaultMessage: "Delete"}),
|
||||
id: "confirm_delete_file_modal",
|
||||
focus_submit_on_open: true,
|
||||
on_click() {
|
||||
dialog_widget.submit_api_request(channel.del, "/json/attachments/" + attachment, {});
|
||||
|
||||
Reference in New Issue
Block a user