mirror of
https://github.com/go-gitea/gitea
synced 2025-07-10 12:37:19 +00:00
WIP: Allow attachments for comments
This commit is contained in:
@ -520,6 +520,19 @@ function initIssue() {
|
||||
});
|
||||
}());
|
||||
|
||||
(function() {
|
||||
var $attached = $("#attached");
|
||||
var $attachments = $("input[name=attachments]");
|
||||
var $addButton = $("#attachments-button");
|
||||
|
||||
var accepted = $addButton.attr("data-accept");
|
||||
|
||||
$addButton.on("click", function() {
|
||||
// TODO: (nuss-justin): open dialog, upload file, add id to list, add file to $attached list
|
||||
return false;
|
||||
});
|
||||
}());
|
||||
|
||||
// issue edit mode
|
||||
(function () {
|
||||
$("#issue-edit-btn").on("click", function () {
|
||||
|
Reference in New Issue
Block a user