forgejo/routers/web/repo
sillyguodong d02e83a2c3
Fix cancel button in the page of project edit not work (#23655)
Before, in project edit page, the cancel button is not work.

https://user-images.githubusercontent.com/33891828/227182731-6478e29f-0e52-48c4-beb0-6a7d1dda6a1d.mov

1. The wrong classname `cancel` was added to the `<a>` tag. That
classname caused the default click event of `<a>` tag to be cancelled.
Because we have the following settings in the global. So I remove the
classname `cancel`.

9be90a5875/web_src/js/features/common-global.js (L325-L327)

2. Another change is that page will redirect to the previous page.

https://user-images.githubusercontent.com/33891828/227187326-c653c6d6-9715-440f-a732-ba0a6f012c81.mov
2023-03-24 16:37:56 +08:00
..
actions Add workflow error notification in ui (#23404) 2023-03-14 15:27:03 +08:00
activity.go
attachment.go Preserve file size when creating attachments (#23406) 2023-03-12 03:48:07 -04:00
blame.go
branch.go Make branches list page operations remember current page (#23420) 2023-03-14 13:11:38 +08:00
cherry_pick.go
commit.go
compare.go Fix tags sort by creation time (descending) on branch/tag dropdowns (#23491) 2023-03-16 12:01:10 -05:00
download.go
editor.go Editor preview support for external renderers (#23333) 2023-03-24 14:12:23 +08:00
editor_test.go
find.go
http.go
http_test.go
issue.go Fix cannot reopen after pushing commits to a closed PR (#23189) 2023-03-03 21:16:58 +08:00
issue_content_history.go
issue_dependency.go
issue_label.go Add loading yaml label template files (#22976) 2023-03-02 01:44:23 +02:00
issue_label_test.go
issue_lock.go
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go
lfs.go Introduce path Clean/Join helper functions (#23495) 2023-03-21 16:02:49 -04:00
main_test.go
middlewares.go
migrate.go
milestone.go
packages.go
patch.go
projects.go Fix cancel button in the page of project edit not work (#23655) 2023-03-24 16:37:56 +08:00
projects_test.go
pull.go Fix cannot reopen after pushing commits to a closed PR (#23189) 2023-03-03 21:16:58 +08:00
pull_review.go Make Ctrl+Enter submit a pending comment (starting review) instead of submitting a single comment (#23245) 2023-03-04 02:13:37 -05:00
release.go
release_test.go
render.go
repo.go
runners.go
search.go
setting.go
setting_protected_branch.go
setting_secrets.go
settings_test.go
tag.go
topic.go
treelist.go
view.go Replace repo.namedBlob by git.TreeEntry. (#22898) 2023-03-15 16:51:39 -05:00
view_test.go
webhook.go Add user webhooks (#21563) 2023-03-10 08:28:32 -06:00
wiki.go
wiki_test.go