0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 05:51:33 +01:00
gitea/routers
wxiaoguang 45bc180a15
Make "cancel" buttons have proper type in modal forms (#25618)
Replace #25446, fix #25438

All "cancel" buttons which do not have "type" should not submit the
form, should not be triggered by "Enter".

This is a complete fix for all modal dialogs.

The major change is "modules/aria/modal.js", "devtest" related code is
for demo/test purpose.
2023-07-03 14:04:50 +08:00
..
api Fix bug of branches API with tests (#25578) 2023-07-01 10:52:52 +08:00
common Use fetch to send requests to create issues/comments (#25258) 2023-06-16 06:32:43 +00:00
install Remove "CHARSET" config option for MySQL, always use "utf8mb4" (#25413) 2023-06-21 10:49:25 +00:00
private Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2023-05-26 01:04:48 +00:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Make "cancel" buttons have proper type in modal forms (#25618) 2023-07-03 14:04:50 +08:00
init.go Refactor path & config system (#25330) 2023-06-21 13:50:26 +08:00