mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 01:47:41 +00:00
settings_exports: Rename btn -> button in JS variables.
This commit is a part of the efforts to rename btn-related classes and variables to align with Zulip's no-abbreviations policy and streamline the search results.
This commit is contained in:
@@ -391,8 +391,8 @@ export function set_up(): void {
|
|||||||
$(".admin_exports_table").on("click", ".delete", function (e) {
|
$(".admin_exports_table").on("click", ".delete", function (e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
const $btn = $(this);
|
const $button = $(this);
|
||||||
const url = "/json/export/realm/" + encodeURIComponent($btn.attr("data-export-id")!);
|
const url = "/json/export/realm/" + encodeURIComponent($button.attr("data-export-id")!);
|
||||||
const html_body = render_confirm_delete_data_export();
|
const html_body = render_confirm_delete_data_export();
|
||||||
|
|
||||||
confirm_dialog.launch({
|
confirm_dialog.launch({
|
||||||
|
|||||||
Reference in New Issue
Block a user