gitea/web_src/js
Kemal Zebari 0c4ff01109
Disable issue/PR comment button given empty input (#31463)
Given an empty issue/PR comment, the comment history would not be
updated if the user were to submit it. Therefore, it would make since to
just disable the comment button when the text editor is empty.

This is inline with what GitHub does when given empty text editor input.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-06-23 18:41:01 +00:00
..
components Update JS dependencies, remove `eslint-plugin-jquery` (#31402) 2024-06-18 08:10:30 +00:00
features Disable issue/PR comment button given empty input (#31463) 2024-06-23 18:41:01 +00:00
markup Use `querySelector` over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
modules Fix navbar `+` menu flashing on page load (#31281) 2024-06-12 14:58:03 +00:00
render Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00
standalone Use `querySelector` over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
utils Fix and clean up `ConfirmModal` (#31283) 2024-06-07 13:42:31 +00:00
vendor Refactor image diff (#31444) 2024-06-22 04:52:09 +00:00
webcomponents Rework and fix stopwatch (#30732) 2024-04-30 14:52:46 +00:00
bootstrap.js Check if reverse proxy is correctly configured (#30890) 2024-05-10 20:07:01 +08:00
bootstrap.test.js Avoid duplicate JS error messages on UI (#28873) 2024-01-21 14:23:08 +00:00
globals.js Bump htmx to 2.0.0 (#31413) 2024-06-20 20:04:09 +00:00
htmx.js Bump htmx to 2.0.0 (#31413) 2024-06-20 20:04:09 +00:00
index.js Add simple JS init performance trace (#31459) 2024-06-22 17:20:20 +08:00
svg.js Update JS any PY dependencies, remove workarounds (#30085) 2024-03-26 09:41:40 +00:00
svg.test.js Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00
utils.js enforce maxlength in frontend (#29389) 2024-02-25 14:31:15 +00:00
utils.test.js Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00
vitest.setup.js Move vitest setup file to root (#29097) 2024-02-08 20:07:02 +08:00