You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
8 months ago
..
admin Split common-global.js into separate files (#31438) 8 months ago
comp Switch to "Write" tab when edit comment again (#31445) 8 months ago
autofocus-end.js When the title in the issue has a value, set the text cursor at the end of the text. (#30090) 11 months ago
captcha.js Enforce trailing comma in JS on multiline (#30002) 11 months ago
citation.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
clipboard.js Fix Citation modal responsiveness and clipboard copy (#29799) 12 months ago
code-frequency.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
codeeditor.js Remove obsolete monaco workaround (#30893) 10 months ago
colorpicker.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
common-button.js Split common-global.js into separate files (#31438) 8 months ago
common-fetch-action.js Split common-global.js into separate files (#31438) 8 months ago
common-form.js Refactor image diff (#31444) 8 months ago
common-issue-list.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
common-issue-list.test.js Use vitest globals (#27102) 1 year ago
common-organization.js Fix `initCompLabelEdit` not being called (#29198) 1 year ago
common-page.js Refactor image diff (#31444) 8 months ago
contextpopup.js Rework and fix stopwatch (#30732) 10 months ago
contributors.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
copycontent.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
dropzone.js Split common-global.js into separate files (#31438) 8 months ago
emoji.js Update JS and PY dependencies (#27501) 1 year ago
eventsource.sharedworker.js Enforce trailing comma in JS on multiline (#30002) 11 months ago
file-fold.js Update JS dependencies (#27922) 1 year ago
heatmap.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
imagediff.js Refactor image diff (#31444) 8 months ago
install.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
notification.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
org-team.js Remove jQuery calls that have no effect on `showElem` and `hideElem` (#30110) 11 months ago
pull-view-file.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
recent-commits.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
repo-branch.js Remove jQuery from the create/rename branch modals (except Fomantic) (#30109) 11 months ago
repo-code.js Rework and fix stopwatch (#30732) 10 months ago
repo-code.test.js Use vitest globals (#27102) 1 year ago
repo-commit.js Fix elipsis button not working if the last commit loading is deferred (#29544) 1 year ago
repo-common.js Refactor and fix archive link bug (#30535) 10 months ago
repo-diff-commit.js Migrate margin and padding helpers to tailwind (#30043) 11 months ago
repo-diff-commitselect.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
repo-diff-filetree.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
repo-diff.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
repo-editor.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
repo-findfile.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
repo-findfile.test.js Use vitest globals (#27102) 1 year ago
repo-graph.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
repo-home.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
repo-issue-content.js Remove jQuery class from the comment edit history (#30186) 11 months ago
repo-issue-edit.js Switch to "Write" tab when edit comment again (#31445) 8 months ago
repo-issue-list.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
repo-issue-pr-form.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
repo-issue-pr-status.js Fix the overflow style for "Hide all checks" (#27932) 1 year ago
repo-issue.js Disable issue/PR comment button given empty input (#31463) 8 months ago
repo-legacy.js Fix JS error when creating new issue (#31383) 9 months ago
repo-migrate.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
repo-migration.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
repo-projects.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
repo-release.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
repo-search.js Filter Repositories by type (#29231) 1 year ago
repo-settings.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
repo-template.js Enforce trailing comma in JS on multiline (#30002) 11 months ago
repo-unicode-escape.js Remove jQuery from the Unicode escape button (#29369) 1 year ago
repo-wiki.js Enforce trailing comma in JS on multiline (#30002) 11 months ago
sshkey-helper.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
stopwatch.js Improve logout from worker (#30775) 10 months ago
tablesort.js JS refactors (#22227) 2 years ago
tribute.js Migrate margin and padding helpers to tailwind (#30043) 11 months ago
user-auth-webauthn.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago
user-auth.js Split common-global.js into separate files (#31438) 8 months ago
user-settings.js Use `querySelector` over alternative DOM methods (#31280) 9 months ago