0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-29 23:06:19 +01:00
gitea/web_src/js/features
David Jimenez a462fcaac8
Show client-side error if wiki page is empty (#17415)
* fix: show client-side error if wiki page is empty

Implement a JS, client-side validation workaround for a bug in the upstream
editor library SimpleMDE which breaks HTML5 client-side validation when
a wiki page is submitted.

This allows native, client-side errors to appear if
the text editor contents are empty.

See upstream bugfix report: https://github.com/sparksuite/simplemde-markdown-editor/issues/324

Signed-off-by: David Jimenez <dvejmz@sgfault.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
2021-10-27 12:33:22 +08:00
..
comp Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 2021-10-21 15:37:43 +08:00
admin-common.js Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 2021-10-21 15:37:43 +08:00
admin-emails.js Split index.js to separate files (#17315) 2021-10-17 01:28:04 +08:00
admin-users.js Frontend refactor: move Vue related code from index.js to components dir, and remove unused codes. (#17301) 2021-10-15 10:35:26 +08:00
clipboard.js "Copy branch name" button in pull request (#17323) 2021-10-19 13:32:11 -04:00
codeeditor.js Update JS dependencies (#17357) 2021-10-19 15:23:58 +08:00
colorpicker.js
common-global.js Fix the click behavior for <tr> and <td> with [data-href] (#17388) 2021-10-21 19:19:32 +01:00
common-issue.js Split index.js to separate files (#17315) 2021-10-17 01:28:04 +08:00
common-organization.js Split index.js to separate files (#17315) 2021-10-17 01:28:04 +08:00
contextpopup.js Fix context popup error (#17398) 2021-10-22 22:34:01 +08:00
diff.js Add buttons to allow loading of incomplete diffs (#16829) 2021-10-15 17:05:33 +01:00
dropzone.js Fix Dropzone following #15315 (#15353) 2021-04-09 10:32:30 +08:00
emoji.js Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 2021-10-21 15:37:43 +08:00
eventsource.sharedworker.js Update JS dependencies (#16708) 2021-08-17 01:32:48 -04:00
gitgraph.js
heatmap.js Fix heatmap activity (#15252) 2021-06-25 12:59:25 -04:00
imagediff.js Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
install.js Split index.js to separate files (#17315) 2021-10-17 01:28:04 +08:00
issue-content-history.js Fix issue content history problems, improve UI (#17404) 2021-10-23 22:47:38 +08:00
lastcommitloader.js Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 2021-10-21 15:37:43 +08:00
migration.js
notification.js Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 2021-10-21 15:37:43 +08:00
org-team.js Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 2021-10-21 15:37:43 +08:00
projects.js Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 2021-10-21 15:37:43 +08:00
repo-branch.js Split index.js to separate files (#17315) 2021-10-17 01:28:04 +08:00
repo-code.js Split index.js to separate files (#17315) 2021-10-17 01:28:04 +08:00
repo-commit.js Split index.js to separate files (#17315) 2021-10-17 01:28:04 +08:00
repo-common.js Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 2021-10-21 15:37:43 +08:00
repo-diff.js Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 2021-10-21 15:37:43 +08:00
repo-editor.js Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 2021-10-21 15:37:43 +08:00
repo-home.js Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 2021-10-21 15:37:43 +08:00
repo-issue.js Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 2021-10-21 15:37:43 +08:00
repo-legacy.js Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 2021-10-21 15:37:43 +08:00
repo-migrate.js Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 2021-10-21 15:37:43 +08:00
repo-release.js Split index.js to separate files (#17315) 2021-10-17 01:28:04 +08:00
repo-settings.js Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 2021-10-21 15:37:43 +08:00
repo-template.js Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 2021-10-21 15:37:43 +08:00
repo-wiki.js Show client-side error if wiki page is empty (#17415) 2021-10-27 12:33:22 +08:00
serviceworker.js Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 2021-10-21 15:37:43 +08:00
sshkey-helper.js Split index.js to separate files (#17315) 2021-10-17 01:28:04 +08:00
stopwatch.js Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 2021-10-21 15:37:43 +08:00
tablesort.js
tribute.js Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 2021-10-21 15:37:43 +08:00
user-auth-u2f.js Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 2021-10-21 15:37:43 +08:00
user-auth.js Split index.js to separate files (#17315) 2021-10-17 01:28:04 +08:00
user-settings.js Split index.js to separate files (#17315) 2021-10-17 01:28:04 +08:00