WIP: Allow attachments for issues, not only comments

This commit is contained in:
Justin Nuß 2014-07-23 21:24:24 +02:00
parent 4617bef895
commit 34304e6a0c
5 changed files with 34 additions and 3 deletions

View file

@ -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() {