From e143a9f301f334fe154cd16766ce99cb8066f9cf Mon Sep 17 00:00:00 2001 From: Norwin Date: Sat, 2 Oct 2021 14:30:39 +0200 Subject: [PATCH 1/2] dont prepopulate issue title --- web_src/js/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/web_src/js/index.js b/web_src/js/index.js index 12539c4ec914c..f42c7e1da9b74 100644 --- a/web_src/js/index.js +++ b/web_src/js/index.js @@ -1006,7 +1006,6 @@ async function initRepository() { const reference = $this.data('reference'); const $modal = $($this.data('modal')); - $modal.find('input[name="title"').val(subject); $modal.find('textarea[name="content"]').val(`${content}\n\n_Originally posted by @${poster} in ${reference}_`); $modal.modal('show'); From b2799a905a2af9fbd2377fc5c465b8e1e0b15279 Mon Sep 17 00:00:00 2001 From: Norwin Date: Sat, 2 Oct 2021 14:38:13 +0200 Subject: [PATCH 2/2] cleanup --- web_src/js/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/web_src/js/index.js b/web_src/js/index.js index f42c7e1da9b74..4fda303a3ca50 100644 --- a/web_src/js/index.js +++ b/web_src/js/index.js @@ -1000,7 +1000,6 @@ async function initRepository() { $this.closest('.dropdown').find('.menu').toggle('visible'); const content = $(`#comment-${$this.data('target')}`).text(); - const subject = content.split('\n', 1)[0].slice(0, 255); const poster = $this.data('poster-username'); const reference = $this.data('reference');