Completed the 'upload a file' dialog.
[citadel.git] / webcit / webcit.c
index 2d71873103ec54593a602ed73f64c083fd8f0f9c..c8a49e6025a6343dacf60fa7ab48bd13e2d07214 100644 (file)
@@ -1660,6 +1660,8 @@ void session_loop(struct httprequest *req)
                display_room_directory();
        } else if (!strcasecmp(action, "download_file")) {
                download_file(index[1]);
+       } else if (!strcasecmp(action, "upload_file")) {
+               upload_file();
        }
 
        /** When all else fais, display the main menu. */