0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-25 08:11:19 +01:00
gitea/web_src
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
..
css Replace fomantic divider module with our own (#25539) 2023-06-29 20:24:22 +08:00
fomantic Replace fomantic divider module with our own (#25539) 2023-06-29 20:24:22 +08:00
js Make "cancel" buttons have proper type in modal forms (#25618) 2023-07-03 14:04:50 +08:00
svg