0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-15 05:06:48 +01:00
gitea/web_src/js/features
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
..
admin Split common-global.js into separate files (#31438) 2024-06-21 15:40:33 +08:00
comp Switch to "Write" tab when edit comment again (#31445) 2024-06-22 09:25:04 +00:00
autofocus-end.js When the title in the issue has a value, set the text cursor at the end of the text. (#30090) 2024-03-27 15:20:10 +08:00
captcha.js Enforce trailing comma in JS on multiline (#30002) 2024-03-22 14:06:53 +00:00
citation.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
clipboard.js Fix Citation modal responsiveness and clipboard copy (#29799) 2024-03-15 02:38:13 +00:00
code-frequency.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
codeeditor.js Remove obsolete monaco workaround (#30893) 2024-05-08 02:42:33 +00:00
colorpicker.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
common-button.js Split common-global.js into separate files (#31438) 2024-06-21 15:40:33 +08:00
common-fetch-action.js Split common-global.js into separate files (#31438) 2024-06-21 15:40:33 +08:00
common-form.js Refactor image diff (#31444) 2024-06-22 04:52:09 +00:00
common-issue-list.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
common-issue-list.test.js Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00
common-organization.js Fix initCompLabelEdit not being called (#29198) 2024-02-16 17:03:52 +01:00
common-page.js Refactor image diff (#31444) 2024-06-22 04:52:09 +00:00
contextpopup.js Rework and fix stopwatch (#30732) 2024-04-30 14:52:46 +00:00
contributors.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
copycontent.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
dropzone.js Split common-global.js into separate files (#31438) 2024-06-21 15:40:33 +08:00
emoji.js Update JS and PY dependencies (#27501) 2023-10-08 00:16:20 +00:00
eventsource.sharedworker.js Enforce trailing comma in JS on multiline (#30002) 2024-03-22 14:06:53 +00:00
file-fold.js Update JS dependencies (#27922) 2023-11-06 21:14:32 +00:00
heatmap.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
imagediff.js Refactor image diff (#31444) 2024-06-22 04:52:09 +00:00
install.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
notification.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
org-team.js Remove jQuery calls that have no effect on showElem and hideElem (#30110) 2024-03-26 19:38:37 +00:00
pull-view-file.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
recent-commits.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
repo-branch.js Remove jQuery from the create/rename branch modals (except Fomantic) (#30109) 2024-03-27 11:40:21 +01:00
repo-code.js Rework and fix stopwatch (#30732) 2024-04-30 14:52:46 +00:00
repo-code.test.js Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00
repo-commit.js Fix elipsis button not working if the last commit loading is deferred (#29544) 2024-03-02 19:31:59 +00:00
repo-common.js Refactor and fix archive link bug (#30535) 2024-04-19 00:45:50 +08:00
repo-diff-commit.js Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
repo-diff-commitselect.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
repo-diff-filetree.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
repo-diff.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
repo-editor.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
repo-findfile.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
repo-findfile.test.js Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00
repo-graph.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
repo-home.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
repo-issue-content.js Remove jQuery class from the comment edit history (#30186) 2024-03-30 23:09:46 +01:00
repo-issue-edit.js Switch to "Write" tab when edit comment again (#31445) 2024-06-22 09:25:04 +00:00
repo-issue-list.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
repo-issue-pr-form.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
repo-issue-pr-status.js Fix the overflow style for "Hide all checks" (#27932) 2023-11-07 18:53:35 +00:00
repo-issue.js Disable issue/PR comment button given empty input (#31463) 2024-06-23 18:41:01 +00:00
repo-legacy.js Fix JS error when creating new issue (#31383) 2024-06-16 02:07:21 +00:00
repo-migrate.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
repo-migration.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
repo-projects.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
repo-release.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
repo-search.js Filter Repositories by type (#29231) 2024-03-03 10:18:34 +00:00
repo-settings.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
repo-template.js Enforce trailing comma in JS on multiline (#30002) 2024-03-22 14:06:53 +00:00
repo-unicode-escape.js Remove jQuery from the Unicode escape button (#29369) 2024-02-24 20:11:51 +01:00
repo-wiki.js Enforce trailing comma in JS on multiline (#30002) 2024-03-22 14:06:53 +00:00
sshkey-helper.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
stopwatch.js Improve logout from worker (#30775) 2024-04-30 15:35:42 +00:00
tablesort.js
tribute.js Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
user-auth-webauthn.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00
user-auth.js Split common-global.js into separate files (#31438) 2024-06-21 15:40:33 +08:00
user-settings.js Use querySelector over alternative DOM methods (#31280) 2024-06-10 22:49:33 +02:00