forgejo/web_src/js/features
parnic 2347c9ebbe
Allow commit status popup on /pulls page (#19507)
* Allow commit status popup on /pulls page

The /pulls page doesn't contain a "repository" element, so the early-out here was preventing the commit status popup hook from working. However, the only thing the .repository element is being used for here is determining whether the popup should be on the right or on the left, so we don't actually need the element to exist for the hook to work.

Pull request #19375 allows the statuses on /pulls pages to appear clickable, but this commit is required to make the popup actually work there.

* Move commit statuses popup hook to dedicated func

* Add missing import
2022-04-26 21:09:46 +02:00
..
comp Never use /api/v1 from Gitea UI Pages (#19318) 2022-04-07 20:59:56 +02:00
admin-common.js
admin-emails.js
admin-users.js
clipboard.js
codeeditor.js
colorpicker.js
common-global.js Skip frontend ROOT_URL check on installation page, remove unnecessary global var (#19291) 2022-04-01 16:00:26 +08:00
common-issue.js
common-organization.js
contextpopup.js
dropzone.js
emoji.js
eventsource.sharedworker.js
heatmap.js
imagediff.js Fix two UI bugs: JS error in imagediff.js, 500 error in diff/compare.tmpl 2022-04-26 11:14:01 +08:00
install.js
notification.js Never use /api/v1 from Gitea UI Pages (#19318) 2022-04-07 20:59:56 +02:00
org-team.js Never use /api/v1 from Gitea UI Pages (#19318) 2022-04-07 20:59:56 +02:00
repo-branch.js
repo-code.js Add a new menu in file view to open blame view and fix blame view select range bug (#19500) 2022-04-26 13:54:40 +03:00
repo-commit.js Allow commit status popup on /pulls page (#19507) 2022-04-26 21:09:46 +02:00
repo-common.js
repo-diff.js
repo-editor.js
repo-graph.js
repo-home.js Never use /api/v1 from Gitea UI Pages (#19318) 2022-04-07 20:59:56 +02:00
repo-issue-content.js
repo-issue.js Never use /api/v1 from Gitea UI Pages (#19318) 2022-04-07 20:59:56 +02:00
repo-legacy.js Allow commit status popup on /pulls page (#19507) 2022-04-26 21:09:46 +02:00
repo-migrate.js
repo-migration.js
repo-projects.js
repo-release.js
repo-settings.js Never use /api/v1 from Gitea UI Pages (#19318) 2022-04-07 20:59:56 +02:00
repo-template.js Never use /api/v1 from Gitea UI Pages (#19318) 2022-04-07 20:59:56 +02:00
repo-unicode-escape.js
repo-wiki.js
serviceworker.js
sshkey-helper.js
stopwatch.js Improve Stopwatch behavior (#18930) 2022-04-25 22:45:22 +02:00
tablesort.js
tribute.js
user-auth-webauthn.js
user-auth.js
user-settings.js