]> code.citadel.org Git - citadel.git/blobdiff - webcit-ng/static/js/upload.js
move struct uploaded_file to webcit.h
[citadel.git] / webcit-ng / static / js / upload.js
index c253471e1cb234b1da6b269ddd471c838dd38de7..28c374edb114302bb8c3217ae21d3b96cbe44e57 100644 (file)
@@ -145,6 +145,10 @@ function show_or_hide_upload_window() {
 // 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=[];
 }