diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2025-05-09 02:26:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-08 18:26:18 +0000 |
commit | f63822fe64b0759dc7e38b467eaa7c41b71d8c5d (patch) | |
tree | 2c0e6fa051ffe4f3b48e1fb5e1f2d4f00f00a9ec /modules/git/tests/repos/language_stats_repo/config | |
parent | 71a11872091634f1370374ef123d32798ec0447d (diff) | |
download | gitea-main.tar.gz gitea-main.zip |
The "autofocus" was abused or misbehaved:
1. When users visit a page but they are not going to change a field,
then the field shouldn't get "autofocus"
* the "auth" / "user" page: in most cases, users do not want to change
the names
* see also the GitHub's "settings" page behavior.
2. There shouldn't be duplicate "autofocus" inputs in most cases, only
the first one focuses
3. When a panel is shown, the "autofocus" should get focus
* "add ssh key" panel
This PR fixes all these problems and by the way remove duplicate
"isElemHidden" function.
Diffstat (limited to 'modules/git/tests/repos/language_stats_repo/config')
0 files changed, 0 insertions, 0 deletions