gitea/web_src/js/features
Giteabot 5477728282
Fix counter display number incorrectly displayed on the page (#29448) (#29478)
Backport #29448 by @charles7668

issue : #28239

The counter number script uses the 'checkbox' attribute to determine
whether an item is selected or not.

However, the input event only increments the counter value, and when
more items are displayed, it does not update all previously loaded
items.

As a result, the display becomes incorrect because it triggers the
update counter script, but checkboxes that are selected without the
'checked' attribute are not counted

Co-authored-by: charles <30816317+charles7668@users.noreply.github.com>
2024-02-28 23:13:49 +01:00
..
admin Use appSubUrl for OAuth2 callback URL tip (#28266) (#28275) 2023-11-30 00:26:47 +00:00
comp Use fetch helpers instead of fetch (#27026) 2023-09-19 00:50:30 +00:00
captcha.js
citation.js Don't show unnecessary citation JS error on UI (#28433) (#28437) 2023-12-12 21:14:04 +08:00
clipboard.js Clipboard copy enhancements (#27669) (#27681) 2023-10-19 00:23:28 +08:00
codeeditor.js Preserve BOM in web editor (#28935) (#28959) 2024-01-27 23:23:31 +01:00
colorpicker.js
common-global.js Polyfill SubmitEvent for PaleMoon (#28441) (#28478) 2023-12-15 03:04:37 +00:00
common-issue-list.js Make submit event code work with both jQuery event and native event (#29223) (#29234) 2024-02-18 06:36:41 +00:00
common-issue-list.test.js Use vitest globals (#27102) (#27311) 2023-09-27 16:10:08 +02:00
common-organization.js
contextpopup.js
copycontent.js Use fetch helpers instead of fetch (#27026) 2023-09-19 00:50:30 +00:00
dropzone.js
emoji.js Update JS and PY dependencies (#27501) (#27518) 2023-10-08 19:31:33 +02:00
eventsource.sharedworker.js
file-fold.js
heatmap.js
imagediff.js Replace ajax with fetch, improve image diff (#27267) (#27583) 2023-10-11 16:12:31 +02:00
install.js Use fetch helpers instead of fetch (#27026) 2023-09-19 00:50:30 +00:00
notification.js
org-team.js
pull-view-file.js Fix counter display number incorrectly displayed on the page (#29448) (#29478) 2024-02-28 23:13:49 +01:00
repo-branch.js
repo-code.js
repo-code.test.js Use vitest globals (#27102) (#27311) 2023-09-27 16:10:08 +02:00
repo-commit.js
repo-common.js
repo-diff-commit.js Use fetch helpers instead of fetch (#27026) 2023-09-19 00:50:30 +00:00
repo-diff-commitselect.js
repo-diff-filetree.js
repo-diff.js Make submit event code work with both jQuery event and native event (#29223) (#29234) 2024-02-18 06:36:41 +00:00
repo-editor.js
repo-findfile.js
repo-findfile.test.js Use vitest globals (#27102) (#27311) 2023-09-27 16:10:08 +02:00
repo-graph.js
repo-home.js
repo-issue-content.js Improve issue history dialog and make poster can delete their own history (#27323) (#27327) 2023-09-28 09:46:46 +00:00
repo-issue-list.js Hide archived labels by default from the suggestions when assigning labels for an issue (#27451) (#27661) 2023-10-17 14:46:35 +00:00
repo-issue-pr-form.js
repo-issue.js Fix incorrect URL for "Reference in New Issue" (#28716) (#28723) 2024-01-07 23:40:29 +08:00
repo-legacy.js
repo-migrate.js Use fetch helpers instead of fetch (#27026) 2023-09-19 00:50:30 +00:00
repo-migration.js
repo-projects.js Fix duplicate project board when hitting enter key (#27746) (#27751) 2023-10-23 13:04:53 +00:00
repo-release.js
repo-settings.js
repo-template.js
repo-unicode-escape.js
repo-wiki.js
sshkey-helper.js
stopwatch.js
tablesort.js
tribute.js
user-auth-webauthn.js Use fetch helpers instead of fetch (#27026) 2023-09-19 00:50:30 +00:00
user-auth.js
user-settings.js