From: joshuaruesweg Date: Mon, 9 Aug 2021 10:08:09 +0000 (+0200) Subject: Reload page after deleting user content X-Git-Tag: 5.5.0_Alpha_1~479^2~5 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a96b830d669e79e38b8062e217329fc901dd9401;p=GitHub%2FWoltLab%2FWCF.git Reload page after deleting user content --- diff --git a/wcfsetup/install/files/acp/templates/userAdd.tpl b/wcfsetup/install/files/acp/templates/userAdd.tpl index c7d26f08cd..be211bc660 100644 --- a/wcfsetup/install/files/acp/templates/userAdd.tpl +++ b/wcfsetup/install/files/acp/templates/userAdd.tpl @@ -123,7 +123,9 @@ const deleteContent = document.querySelector(".jsDeleteContent"); if (deleteContent !== null) { - new AcpUserContentRemoveHandler(deleteContent, {@$user->userID}); + new AcpUserContentRemoveHandler(deleteContent, {@$user->userID}, (data) => { + window.location.reload(); + }); } const sendNewPassword = document.querySelector(".jsSendNewPassword");