0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 11:57:03 +01:00
gitea/templates/repo/settings/webhook
wxiaoguang 59eb660b1a
Fix incorrect toggle buttons (#23676)
Some of those are still Copy&Paste problems.

This PR:

* Only cleans the legacy incorrect code, doesn't change or improve the
"action" logic.
* Remove the redundant `$('.toggle.button').on('click')`, now
`$('.show-panel.button').on('click')` handles that kinds of buttons


Actually, there is only one correct "toggle button" in code, the one on
the webhook page.

No need to backport.
2023-03-26 20:06:11 +08:00
..
base_list.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
base.tmpl
delete_modal.tmpl Convert <div class="button"> to <button class="button"> (#23337) 2023-03-14 11:34:09 +08:00
dingtalk.tmpl
discord.tmpl
feishu.tmpl
gitea.tmpl
gogs.tmpl
history.tmpl Fix incorrect toggle buttons (#23676) 2023-03-26 20:06:11 +08:00
list.tmpl
matrix.tmpl
msteams.tmpl
new.tmpl
packagist.tmpl
settings.tmpl Refactor hiding-methods, remove jQuery show/hide, remove .hide class, remove inline style=display:none (#22950) 2023-02-19 12:06:14 +08:00
slack.tmpl
telegram.tmpl
wechatwork.tmpl