aboutsummaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/js/app.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/public/js/app.js b/public/js/app.js
index 77719efe09..16d1d5dab1 100644
--- a/public/js/app.js
+++ b/public/js/app.js
@@ -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() {