mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-18 07:53:04 +00:00
WIP: Allow attachments for issues, not only comments
This commit is contained in:
parent
4617bef895
commit
34304e6a0c
5 changed files with 34 additions and 3 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue