mirror of
https://github.com/go-gitea/gitea
synced 2025-07-23 02:38:35 +00:00
WIP: Allow attachments for issues, not only comments
This commit is contained in:
@@ -525,6 +525,7 @@ function initIssue() {
|
||||
var $attachments = $("input[name=attachments]");
|
||||
var $addButton = $("#attachments-button");
|
||||
|
||||
var commentId = $addButton.attr("data-comment-id"); // "0" == for issue, "" == for comment
|
||||
var accepted = $addButton.attr("data-accept");
|
||||
|
||||
$addButton.on("click", function() {
|
||||
|
Reference in New Issue
Block a user