forgejo/web_src/js/features
Beowulf 34e1100ae2 fix(ui): reset content of text field for comments when cancelling (#6595)
Currently, the content of the text field is not reset when you cancel editing. This change resets the content of the text field when editing is canceled.

If this is not done and you click on cancel and then on edit again, you can no longer return to the initial content without completely reloading the page.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6595
Reviewed-by: Otto <otto@codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Beowulf <beowulf@beocode.eu>
Co-committed-by: Beowulf <beowulf@beocode.eu>
2025-01-17 20:14:28 +00:00
..
admin feat: add synchronization for SSH keys with OpenID Connect 2024-12-09 18:59:11 +03:00
comp Update web_src/js/features/comp/ComboMarkdownEditor.js 2024-11-28 10:26:12 +00:00
autofocus-end.js
captcha.js
citation.js Remove APA as cite format 2024-07-20 15:48:57 +02:00
clipboard.js
code-frequency.js
codeeditor.js
colorpicker.js
common-global.js Make new table modal work when editing a issue 2024-12-31 17:24:54 +01:00
common-issue-list.js
common-issue-list.test.js
common-organization.js
contextpopup.js
contributors.js Add "n commits" link to contributors in contributors graph page (#32799) 2024-12-15 13:21:02 +01:00
copycontent.js
dropzone.js
emoji.js
eventsource.sharedworker.js chore: add new lint rules 2024-10-23 08:10:18 +02:00
file-fold.js
heatmap.js
imagediff.js
install.js
notification.js
org-team.js Implement CSS-only input toggling, refactor related forms 2024-08-21 15:03:19 +02:00
pull-view-file.js
recent-commits.js
repo-branch.js
repo-code.js fix(ui): handle out-of-bounds end line in code selection (#4788) 2024-08-05 04:45:07 +00:00
repo-code.test.js
repo-commit.js ui: improve git notes 2024-11-19 10:27:57 +05:00
repo-common.js
repo-diff-commit.js
repo-diff-commitselect.js
repo-diff-filetree.js make show stats work when only one file changed (#32244) 2024-10-20 09:29:33 +02:00
repo-diff.js make show stats work when only one file changed (#32244) 2024-10-20 09:29:33 +02:00
repo-editor.js fix: Preview picture not visible on Markdown file (#5781) 2024-11-23 15:00:18 +00:00
repo-findfile.js
repo-findfile.test.js
repo-graph.js fix branch selector in commit graph 2024-07-07 20:26:30 +02:00
repo-home.js Add null check for responseData.invalidTopics (#32212) 2024-10-13 08:06:49 +03:00
repo-issue-content.js
repo-issue-list.js
repo-issue-pr-form.js
repo-issue-pr-status.js
repo-issue.js [PORT] Fix a number of typescript issues (gitea#32308) 2024-11-04 09:15:06 +01:00
repo-issue.test.js feat(ui): add more emoji and code block rendering in issues 2024-09-24 14:20:33 +02:00
repo-legacy.js fix(ui): reset content of text field for comments when cancelling (#6595) 2025-01-17 20:14:28 +00:00
repo-migrate.js fix(ui): prevent exceptions on other users' repo migration pages 2024-08-21 19:57:08 +00:00
repo-migration.js
repo-milestone.js feat: use combo markdown editor for milestone description 2024-10-22 19:58:44 +02:00
repo-projects.js
repo-release.js Implement external assets 2024-07-29 20:35:55 +02:00
repo-search.js
repo-settings.js
repo-template.js
repo-unicode-escape.js
repo-wiki.js
sshkey-helper.js
stopwatch.js
tablesort.js
tribute.js
user-auth-webauthn.js
user-auth.js
user-settings.js Rework user profile settings 2024-12-30 16:42:58 +01:00