+ ` `
+ item["uploadfilename"] + " (" + item["contenttype"] + ", " + item["contentlength"] + " " + _("bytes") + ")";
document.getElementById("ctdl-upload_list").appendChild(new_upl);
- });
- // append it to the global list of uploads
- uploads.push(j_response);
+ // append it to the global list of uploads
+ uploads.push(item);
+ });
document.getElementById("num_attachments").innerHTML = uploads.length;
}
else if (xhr.readyState == 4 && xhr.status != 200) {