forked from gitea/gitea
1
0
Fork 0
gitea/web_src/js
Giteabot 0b3d6c399c
enforce maxlength in frontend (#29389) (#29396)
Backport #29389 by @zokkis

Set maxlength attribute in frontend

to long file-name

![image](https://github.com/go-gitea/gitea/assets/72873130/15111614-55ab-4583-acb2-15c25997601d)

![image](https://github.com/go-gitea/gitea/assets/72873130/4105ddd8-4973-4da8-b3ab-4cfae1b45554)
(same for branch-name and commit-summary)

Co-authored-by: Tim-Niclas Oelschläger <72873130+zokkis@users.noreply.github.com>
2024-02-25 14:56:44 +00:00
..
components Modernize merge button (#28140) (#28786) 2024-01-15 09:40:52 +08:00
features Make submit event code work with both jQuery event and native event (#29223) (#29234) 2024-02-18 06:36:41 +00:00
markup Strip trailing newline in markdown code copy (#29019) (#29022) 2024-02-01 21:06:21 +00:00
modules Avoid showing unnecessary JS errors when there are elements with different origin on the page (#29081) (#29089) 2024-02-08 02:48:06 +00:00
render Use vitest globals (#27102) (#27311) 2023-09-27 16:10:08 +02:00
standalone Add toasts to UI (#25449) 2023-06-27 02:45:24 +00:00
test Avoid duplicate JS error messages on UI (#28873) (#28881) 2024-01-21 15:40:26 +00:00
utils Make submit event code work with both jQuery event and native event (#29223) (#29234) 2024-02-18 06:36:41 +00:00
vendor Vendor `jquery.are-you-sure` with strict mode fixes (#26901) 2023-09-06 00:02:44 +00:00
webcomponents Fix gitea-origin-url with default ports (#29085) (#29088) 2024-02-08 02:41:49 +00:00
bootstrap.js Don't show third-party JS errors in production builds (#29303) (#29333) 2024-02-22 22:49:07 +01:00
bootstrap.test.js Avoid duplicate JS error messages on UI (#28873) (#28881) 2024-01-21 15:40:26 +00:00
index.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
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 2020-04-18 18:46:29 -04:00
svg.js Replace ajax with fetch, improve image diff (#27267) (#27583) 2023-10-11 16:12:31 +02:00
svg.test.js Use vitest globals (#27102) (#27311) 2023-09-27 16:10:08 +02:00
utils.js enforce maxlength in frontend (#29389) (#29396) 2024-02-25 14:56:44 +00:00
utils.test.js Use vitest globals (#27102) (#27311) 2023-09-27 16:10:08 +02:00