Fixed issue where creating a reference of an issue would create a tag with the full name instead of the username if this is the default in the .ini file (#17074)

Adds an extra attribute to every issue comment containing the actual username, such that it can be used to tag the original author when clicking on "Reference in new issue" (#17073)

Fix #17073
This commit is contained in:
Jelle Hulter 2021-09-18 17:44:45 +02:00 committed by GitHub
parent 8fb3a50a37
commit b74a0f9060
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -997,7 +997,7 @@ async function initRepository() {
const content = $(`#comment-${$this.data('target')}`).text();
const subject = content.split('\n', 1)[0].slice(0, 255);
const poster = $this.data('poster');
const poster = $this.data('poster-username');
const reference = $this.data('reference');
const $modal = $($this.data('modal'));