0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-09 16:10:50 -05:00
forgejo/web_src/js
Giteabot 8babbe7ccf
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>
(cherry picked from commit 5477728282de19b1638691b88449b1933ed5a4d8)
2024-03-10 18:09:32 +07:00
..
components Modernize merge button (#28140) (#28786) 2024-01-16 14:40:18 +00:00
features Fix counter display number incorrectly displayed on the page (#29448) (#29478) 2024-03-10 18:09:32 +07:00
markup Strip trailing newline in markdown code copy (#29019) (#29022) 2024-02-13 14:17:07 +01:00
modules Avoid showing unnecessary JS errors when there are elements with different origin on the page (#29081) (#29089) 2024-02-13 14:18:07 +01:00
render
standalone [API] Forgejo API /api/forgejo/v1 2023-11-13 12:33:48 +01:00
test Avoid duplicate JS error messages on UI (#28873) (#28881) 2024-01-31 14:18:25 +01:00
utils Avoid showing unnecessary JS errors when there are elements with different origin on the page (#29081) (#29089) 2024-02-13 14:18:07 +01:00
vendor
webcomponents Fix URL calculation in clone input box (#29470) (#29473) 2024-03-10 18:08:36 +07:00
bootstrap.js Don't show third-party JS errors in production builds (#29303) (#29333) 2024-03-06 12:20:42 +08:00
bootstrap.test.js Avoid duplicate JS error messages on UI (#28873) (#28881) 2024-01-31 14:18:25 +01:00
index.js
jquery.js
svg.js
svg.test.js
utils.js enforce maxlength in frontend (#29389) (#29396) 2024-03-06 12:20:42 +08:00
utils.test.js