forgejo/web_src/js/features
wxiaoguang eadda68ded
Fix JS error when changing PR's target branch (#23862)
Caught by @justusbunsi 

An old bug from #6488

In `pullrequest_targetbranch_change`, the `data` might be empty, because
`UpdatePullRequestTarget` may respond `http.StatusNoContent`.

And the old code's `$branchTarget.text(data.base_branch);` doesn't make
sense, because in the end, the page will be always reloaded.

So, just remove the `$branchTarget.text(data.base_branch);`, everything
should be fine.
2023-04-01 22:14:38 +08:00
..
admin Convert <div class="button"> to <button class="button"> (#23337) 2023-03-14 11:34:09 +08:00
comp Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
captcha.js
citation.js Fix switched citation format (#23250) 2023-03-02 13:08:02 -06:00
clipboard.js
codeeditor.js Allow new file and edit file preview if it has editable extension (#23624) 2023-03-26 13:25:41 +08:00
colorpicker.js
common-global.js Fix dropdown direction behavior (#23806) 2023-03-30 13:53:51 -04:00
common-issue.js Convert issue list checkboxes to native (#23596) 2023-03-30 11:02:47 -04:00
common-organization.js
contextpopup.js Use a general approach to show tooltip, fix temporary tooltip bug (#23574) 2023-03-23 17:56:15 +08:00
copycontent.js
dropzone.js
emoji.js
eventsource.sharedworker.js
file-fold.js
formatting.js
heatmap.js
imagediff.js Fix various ImageDiff/SVG bugs (#23312) 2023-03-07 20:11:24 +08:00
install.js Fix various bugs for "install" page (#23194) 2023-03-04 10:12:02 +08:00
notification.js
org-team.js
pull-view-file.js
repo-branch.js
repo-code.js
repo-code.test.js
repo-commit.js
repo-common.js
repo-diff-filetree.js
repo-diff.js Use a general approach to show tooltip, fix temporary tooltip bug (#23574) 2023-03-23 17:56:15 +08:00
repo-editor.js Editor preview support for external renderers (#23333) 2023-03-24 14:12:23 +08:00
repo-findfile.js Refactor branch/tag selector to Vue SFC (#23421) 2023-03-14 17:51:20 +08:00
repo-findfile.test.js Refactor branch/tag selector to Vue SFC (#23421) 2023-03-14 17:51:20 +08:00
repo-graph.js
repo-home.js Fine tune more downdrop settings, use SVG for labels, improve Repo Topic Edit form (#23626) 2023-03-26 19:31:26 +08:00
repo-issue-content.js
repo-issue-pr-form.js
repo-issue.js Fix JS error when changing PR's target branch (#23862) 2023-04-01 22:14:38 +08:00
repo-legacy.js Fix aria.js bugs: incorrect role element problem, mobile focus problem, tippy problem (#23450) 2023-03-17 11:08:05 +08:00
repo-migrate.js
repo-migration.js
repo-projects.js Sync the class change of Edit Column Button to JS code (#23400) 2023-03-12 19:09:20 +08:00
repo-release.js Hide target selector if tag exists when creating new release (#23171) 2023-03-10 10:42:38 -06:00
repo-settings.js
repo-template.js
repo-unicode-escape.js
repo-wiki.js
serviceworker.js
sshkey-helper.js
stopwatch.js
tablesort.js
tribute.js
user-auth-webauthn.js
user-auth.js
user-settings.js