Skip to content

Admin can not delete users, the form is not submitted when clicking "yes" #20998

Closed
@wxiaoguang

Description

@wxiaoguang

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/regressionIndicates a previously functioning feature or behavior that has broken or regressed after a changeskip-changelogThis PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features.topic/uiChange the appearance of the Gitea UItype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions