]> source.dussan.org Git - gitea.git/commit
Restore #10096/#8638 and re-fix #15172 (#16576) (#16617)
authorzeripath <art27@cantab.net>
Wed, 4 Aug 2021 12:31:10 +0000 (13:31 +0100)
committerGitHub <noreply@github.com>
Wed, 4 Aug 2021 12:31:10 +0000 (13:31 +0100)
commit40687a2160f30f70b5facba6f2d26be1f1a005dd
treed13bbd7be52946d0c692f7ef6b67b10be72ca117
parentf9120092c164f7d1d25792a76fb39601ac02c681
Restore #10096/#8638 and re-fix #15172 (#16576) (#16617)

Backport #16576

This PR restores the vendored and patched dropdow from #8638. It
however, it partially abandons the call to `click()` using instead the
default dropdown click calls instead. This prevents the issue of the
dropdown grabbing focus permanently however, this may have negative
effects on the effect of focus on the dropdowns.

Of note, the behaviour of the template selector dropdown on the repo
creation page is slightly odd - I don't believe that this odd behaviour
is caused by this PR but rather by the feed source for this. I suspect
that the dropdown should be adding a delete button to its selection.

Fix #15172
References: #7057

Signed-off-by: Andrew Thornton <art27@cantab.net>
.eslintrc
Makefile
web_src/fomantic/build/semantic.css
web_src/fomantic/build/semantic.js
web_src/js/vendor/dropdown.js [new file with mode: 0644]