Simplify call to UIWindowConfirmUserDeletion
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (20.x) (push) Has been cancelled
test / test-backend (22.x) (push) Has been cancelled
test / API tests (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled

This commit is contained in:
jelveh
2025-12-09 23:55:49 -08:00
parent f18e349c21
commit 357cb8bcca
+1 -7
View File
@@ -159,13 +159,7 @@ const TabAccount = {
});
});
$el_window.find('.dashboard-section-account .delete-account').on('click', function (e) {
UIWindowConfirmUserDeletion({
window_options: {
parent_uuid: $el_window.attr('data-element_uuid'),
disable_parent_window: true,
parent_center: true,
},
});
UIWindowConfirmUserDeletion();
});
$el_window.find('.dashboard-section-account .change-profile-picture').on('click', async function (e) {
// open dialog