// Flush all uploaded files and close the window
function flush_uploads() {
document.getElementById('ctdl-upload').style.display='none';
+
// FIXME tell the server to delete the files
+ uploads.forEach(u => {
+ console.log(u.ref);
+ });
uploads=[];
}