Browse Source

Fix #319 (user not-logged in error)

pull/320/head
Andrew Patton 10 years ago
parent
commit
8ccde45c5f
  1. 7
      public/js/app.js

7
public/js/app.js

@ -579,8 +579,11 @@ function initIssue() {
var $attachedList = $("#attached-list");
var $addButton = $("#attachments-button");
var fileInput = $("#attachments-input")[0];
var fileInput = document.getElementById("attachments-input");
if (fileInput === null) {
return;
}
fileInput.addEventListener("change", function(event) {
$attachedList.empty();
$attachedList.append("<b>Attachments:</b> ");

Loading…
Cancel
Save