mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-03 06:38:06 +02:00
Backport #17050 The issues pop-up context cannot work for external issues - therefore do not show these. Fix #17047 Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
1 parent
270c7f36db
commit
6a025d8b4a
4 files changed
+14
-4
No files matched your search
@@ -7,6 +7,9 @@ export default function initContextPopups() {
|
||||
if (!refIssues.length) return;
|
||||
|
||||
refIssues.each(function () {
|
||||
if ($(this).hasClass('ref-external-issue')) {
|
||||
return;
|
||||
}
|
||||
const [index, _issues, repo, owner] = $(this).attr('href').replace(/[#?].*$/, '').split('/').reverse();
|
||||
|
||||
const el = document.createElement('div');
|
||||
|
||||
Reference in new issue
Block a user