|
|
|
@ -622,9 +622,7 @@ function initIssue() { |
|
|
|
|
(function() { |
|
|
|
|
var $attachedList = $("#attached-list"); |
|
|
|
|
var $addButton = $("#attachments-button"); |
|
|
|
|
|
|
|
|
|
var files = []; |
|
|
|
|
|
|
|
|
|
var fileInput = document.getElementById("attachments-input"); |
|
|
|
|
|
|
|
|
|
if (fileInput === null) { |
|
|
|
@ -638,7 +636,7 @@ function initIssue() { |
|
|
|
|
$parent.remove(); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
var clickedButton = undefined; |
|
|
|
|
var clickedButton; |
|
|
|
|
|
|
|
|
|
$('#issue-reply-btn,input[type="submit"]', fileInput.form).on('click', function() { |
|
|
|
|
clickedButton = this; |
|
|
|
|