-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update #14
Conversation
|
||
// if there is a goto button, use its link | ||
e.preventDefault(); | ||
window.location.href = $goto.attr('data-issue-goto-link'); |
Check warning
Code scanning / CodeQL
DOM text reinterpreted as HTML Medium
DOM text
e.preventDefault(); | ||
const $el = $(this); | ||
const modalSelector = $el.attr('data-modal'); | ||
const $modal = $(modalSelector); |
Check warning
Code scanning / CodeQL
DOM text reinterpreted as HTML Medium
DOM text
e.preventDefault(); | ||
let sel = $(this).attr('data-panel'); | ||
if (sel) { | ||
hideElem($(sel)); |
Check warning
Code scanning / CodeQL
DOM text reinterpreted as HTML Medium
DOM text
if (!modalFormName) { | ||
modalFormName = '#create-branch-form'; | ||
} | ||
$(modalFormName)[0].action = $(modalFormName).attr('data-base-action') + $(this).attr('data-branch-from-urlcomponent'); |
Check warning
Code scanning / CodeQL
DOM text reinterpreted as HTML Medium
DOM text
DOM text
} | ||
|
||
$(fromSpanName).text($(this).attr('data-branch-from')); | ||
$($(this).attr('data-modal')).modal('show'); |
Check warning
Code scanning / CodeQL
DOM text reinterpreted as HTML Medium
DOM text
if (summaryLabel) summaryLabel.innerHTML = summaryLabel.getAttribute('data-text-changed-template') | ||
.replace('%[1]d', prReview.numberOfViewedFiles) | ||
.replace('%[2]d', prReview.numberOfFiles); |
Check warning
Code scanning / CodeQL
DOM text reinterpreted as HTML Medium
DOM text
const urlIssueNew = $refInNewIssue.attr('data-url-issue-new'); | ||
const urlParamBodyLink = $refInNewIssue.attr('data-url-param-body-link'); | ||
const issueContent = `${toAbsoluteUrl(urlParamBodyLink)}#${anchor}`; // the default content for issue body | ||
$refInNewIssue.attr('href', `${urlIssueNew}?body=${encodeURIComponent(issueContent)}`); |
Check warning
Code scanning / CodeQL
DOM text reinterpreted as HTML Medium
DOM text
for (const r of filterResult) { | ||
const $row = $(tmplRow); | ||
const $a = $row.find('a'); | ||
$a.attr('href', `${treeLink}/${pathEscapeSegments(r.matchResult.join(''))}`); |
Check warning
Code scanning / CodeQL
DOM text reinterpreted as HTML Medium
DOM text
}, | ||
}, | ||
action: (_text, value) => { | ||
window.location.href = actionJumpUrl.replace('{user_id}', encodeURIComponent(value)); |
Check warning
Code scanning / CodeQL
DOM text reinterpreted as HTML Medium
DOM text
const [_, step, _line] = selectedLogStep.split('-'); | ||
if (!this.currentJobStepsStates[step]) return; | ||
if (!this.currentJobStepsStates[step].expanded && this.currentJobStepsStates[step].cursor === null) { | ||
this.currentJobStepsStates[step].expanded = true; |
Check warning
Code scanning / CodeQL
Prototype-polluting assignment Medium
No description provided.