Admin can not delete users, the form is not submitted when clicking "yes" #20998
Labels
issue/regression
Issue needs no code to be fixed, only a description on how to fix it yourself
skip-changelog
This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features.
topic/ui
Change the appearance of the Gitea UI
type/bug
Milestone
It seems a regression bug of #18064
In #18064, the "Delete" button was changed from
<div class="ui red button delete-button"
to<div class="ui red button show-modal"
, however, the.show-modal
event handler seems not handling the form submit correctly.IMO, the
.delete-button
event handler could handle the form submit, not sure why the CSS class is changed.The text was updated successfully, but these errors were encountered: