WIP: Allow attachments for comments

This commit is contained in:
Justin Nuß 2014-07-23 21:15:47 +02:00
parent 6e9f1c52b1
commit 4617bef895
8 changed files with 366 additions and 17 deletions

View file

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